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)