aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-12-15 10:36:06 +0800
committerGitHub <noreply@github.com>2018-12-15 10:36:06 +0800
commit5b6ba3f72e101fa4b2d126b6160ef19af0e68f45 (patch)
tree704fb56425869087af012d7bb564744cdf2d0694
parent645ddea97ef6a9315b8701c1c53a4ba9a03d1db3 (diff)
parente4b29878cedb947730993197a1885e235ba94b07 (diff)
downloadtangerine-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.txt1
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)