diff --git a/CMakeLists.txt b/CMakeLists.txt index 0460207a..af731667 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ set( GRAPHENE_BUILD_DYNAMIC_LIBRARIES OFF CACHE BOOL if( GRAPHENE_BUILD_DYNAMIC_LIBRARIES ) set( CMAKE_POSITION_INDEPENDENT_CODE ON ) endif() +set( FC_BUILD_DYNAMIC_LIBRARIES ${GRAPHENE_BUILD_DYNAMIC_LIBRARIES} CACHE BOOL "Whether FC should build as a dynamic library rather than static" ) # http://stackoverflow.com/a/18369825 if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")