Use "NOT BUILD_SHARED_LIBS" in CMake rather than "LINK_ALL_STATIC"

This commit is contained in:
Sam Edwards 2014-01-27 12:29:02 -07:00
parent ed08fd1902
commit d8bc6d0da8
1 changed files with 1 additions and 1 deletions

View File

@ -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)