CMake: Think this is the reason linking python statically causes problems on some...
authorJacques Beuarain <jacques.beaurain@gmail.com>
Sun, 18 Feb 2007 15:01:07 +0000 (15:01 +0000)
committerJacques Beuarain <jacques.beaurain@gmail.com>
Sun, 18 Feb 2007 15:01:07 +0000 (15:01 +0000)
blenderplayer/CMakeLists.txt
source/creator/CMakeLists.txt

index aa60c6c48feb0152a55d326bd5a72ac0168b0a05..d144abcbc6a1de6033ffdc7702d1fbc56472acb5 100644 (file)
@@ -49,7 +49,6 @@ ENDIF(WIN32)
 
 ADD_DEPENDENCIES(blenderplayer makesdna)
 
-SETUP_LIBLINKS(blenderplayer)
 FILE(READ ${CMAKE_BINARY_DIR}/cmake_blender_libs.txt BLENDER_LINK_LIBS)
 
 SET(BLENDER_LINK_LIBS ${BLENDER_LINK_LIBS} gp_common gp_ghost blenkernel_blc)
@@ -121,3 +120,4 @@ ELSE(UNIX)
   TARGET_LINK_LIBRARIES(blenderplayer ${BLENDER_LINK_LIBS})
 ENDIF(UNIX)
 
+SETUP_LIBLINKS(blenderplayer)
index 938fb2804bd321ed202154037e80b85a11afb8a0..70c54d70edfbbe26f22f34061e6de20725c013ad 100644 (file)
@@ -186,7 +186,6 @@ ENDIF(WIN32)
 
 ADD_DEPENDENCIES(blender makesdna)
 
-SETUP_LIBLINKS(blender)
 FILE(READ ${CMAKE_BINARY_DIR}/cmake_blender_libs.txt BLENDER_LINK_LIBS)
 
 SET(BLENDER_LINK_LIBS ${BLENDER_LINK_LIBS} src blender_python blender_render blender_radiosity blender_IK bf_elbeem)
@@ -272,3 +271,4 @@ ELSE(UNIX)
   TARGET_LINK_LIBRARIES(blender ${BLENDER_LINK_LIBS})
 ENDIF(UNIX)
 
+SETUP_LIBLINKS(blender)