Fix to dynamic builds
FC wasn't always getting the memo that it should build dynamically if Graphene is.
This commit is contained in:
parent
e168d2d830
commit
95afb342c3
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue