Use "NOT BUILD_SHARED_LIBS" in CMake rather than "LINK_ALL_STATIC"
This commit is contained in:
parent
ed08fd1902
commit
d8bc6d0da8
|
|
@ -12,7 +12,7 @@ set(P3FRAMEWORK_SOURCES
|
|||
|
||||
|
||||
set(P3FRAMEWORK_LINK_TARGETS p3char p3pgui p3recorder p3collide p3pnmimagetypes)
|
||||
if(LINK_ALL_STATIC)
|
||||
if(NOT BUILD_SHARED_LIBS)
|
||||
# If we're statically linking, we need to explicitly link with
|
||||
# at least one of the available renderers.
|
||||
if(HAVE_GL)
|
||||
|
|
|
|||
Loading…
Reference in New Issue