diff options
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index e4045d0b77c..1455560d138 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -37,6 +37,9 @@ blender_include_dirs( ../blender/windowmanager ) +set(LIB +) + add_definitions(${GL_DEFINITIONS}) blender_include_dirs("${GLEW_INCLUDE_PATH}") @@ -1025,12 +1028,16 @@ add_dependencies(blender makesdna) # Use for testing 'BLENDER_SORTED_LIBS' removal. if(NOT (DEFINED WITHOUT_SORTED_LIBS AND WITHOUT_SORTED_LIBS)) setup_blender_sorted_libs() + target_link_libraries(blender ${BLENDER_SORTED_LIBS}) +else() + target_link_libraries(blender ${LIB}) endif() -target_link_libraries(blender ${BLENDER_SORTED_LIBS}) setup_liblinks(blender) +unset(LIB) + # ----------------------------------------------------------------------------- # Setup launcher |