diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-12-15 10:36:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-15 10:36:06 +0800 |
commit | 5b6ba3f72e101fa4b2d126b6160ef19af0e68f45 (patch) | |
tree | 704fb56425869087af012d7bb564744cdf2d0694 | |
parent | 645ddea97ef6a9315b8701c1c53a4ba9a03d1db3 (diff) | |
parent | e4b29878cedb947730993197a1885e235ba94b07 (diff) | |
download | tangerine-mcl-5b6ba3f72e101fa4b2d126b6160ef19af0e68f45.tar.gz tangerine-mcl-5b6ba3f72e101fa4b2d126b6160ef19af0e68f45.tar.zst tangerine-mcl-5b6ba3f72e101fa4b2d126b6160ef19af0e68f45.zip |
Merge pull request #41 from dfinity/master
shared libraries should be linked to their dependencies
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 58171f8..fa9c6d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,6 +91,7 @@ include_directories( add_library(mcl STATIC ${SRCS}) add_library(mcl_dy SHARED ${SRCS}) +target_link_libraries(mcl_dy ${LIBS}) set_target_properties(mcl_dy PROPERTIES OUTPUT_NAME mcl) if(NOT USE_OLD_SHARED_NAME) set_target_properties(mcl_dy PROPERTIES OUTPUT_NAME mcl) |