From d8bc6d0da8da86cc70a979ac99f0328374127de4 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Mon, 27 Jan 2014 12:29:02 -0700 Subject: [PATCH] Use "NOT BUILD_SHARED_LIBS" in CMake rather than "LINK_ALL_STATIC" --- panda/src/framework/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/framework/CMakeLists.txt b/panda/src/framework/CMakeLists.txt index 38e79dbd32..1863f00ff0 100644 --- a/panda/src/framework/CMakeLists.txt +++ b/panda/src/framework/CMakeLists.txt @@ -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)