From c80e7844b7fc76de944e338dd0c2634df054cf44 Mon Sep 17 00:00:00 2001 From: Naram Qashat Date: Sat, 3 Dec 2011 19:17:41 -0500 Subject: Attempt to fix issue with modules having their link libraries in the wrong order. --- modules/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules') diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index 6fa017fd6..e3156de4f 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -85,6 +85,8 @@ foreach(MODULE_FOLDER ${MODULES_FOLDERS}) if(WIN32) target_link_libraries(${SO} ${PROGRAM_NAME} wsock32 Ws2_32 ${WIN32_MEMORY} ${TEMP_DEPENDENCIES}) set_target_properties(${PROGRAM_NAME} PROPERTIES VERSION "${VERSION_DOTTED}") + else(WIN32) + target_link_libraries(${SO} ${PROGRAM_NAME} ${TEMP_DEPENDENCIES}) endif(WIN32) # Set the module to be installed to the module directory under the data directory install(TARGETS ${SO} -- cgit