Merge pull request #41 from dfinity/master

shared libraries should be linked to their dependencies
dev
MITSUNARI Shigeo 6 years ago committed by GitHub
commit 5b6ba3f72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CMakeLists.txt

@ -91,6 +91,7 @@ include_directories(
add_library(mcl STATIC ${SRCS}) add_library(mcl STATIC ${SRCS})
add_library(mcl_dy SHARED ${SRCS}) add_library(mcl_dy SHARED ${SRCS})
target_link_libraries(mcl_dy ${LIBS})
set_target_properties(mcl_dy PROPERTIES OUTPUT_NAME mcl) set_target_properties(mcl_dy PROPERTIES OUTPUT_NAME mcl)
if(NOT USE_OLD_SHARED_NAME) if(NOT USE_OLD_SHARED_NAME)
set_target_properties(mcl_dy PROPERTIES OUTPUT_NAME mcl) set_target_properties(mcl_dy PROPERTIES OUTPUT_NAME mcl)

Loading…
Cancel
Save