merge from trunk r37405
[blender.git] / source / creator / CMakeLists.txt
index 4bb0437ed6f67fb459972db2ec96840fb0c40869..d089e7e98ba330571a5156efc770a855b574ee4c 100644 (file)
@@ -876,6 +876,12 @@ endif()
                message(STATUS "Blender Skipping: (${REM_MSG})")
        endif()
        target_link_libraries(blender ${BLENDER_SORTED_LIBS})
+       
+       unset(SEARCHLIB)
+       unset(SORTLIB)
+       unset(REMLIB)
+       unset(REM_MSG)
+       
 #else()
 #      target_link_libraries(blender ${BLENDER_LINK_LIBS})
 #endif()