Author: abroekhuis
Date: Tue Nov 27 15:56:04 2012
New Revision: 1414236
URL: http://svn.apache.org/viewvc?rev=1414236&view=rev
Log:
Fixed Windows specific link issue
Modified:
incubator/celix/trunk/examples/mongoose/CMakeLists.txt
Modified: incubator/celix/trunk/examples/mongoose/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/incubator/celix/trunk/examples/mongoose/CMakeLists.txt?rev=1414236&r1=1414235&r2=1414236&view=diff
==============================================================================
--- incubator/celix/trunk/examples/mongoose/CMakeLists.txt (original)
+++ incubator/celix/trunk/examples/mongoose/CMakeLists.txt Tue Nov 27 15:56:04
2012
@@ -21,6 +21,8 @@ SET_TARGET_PROPERTIES(mongoose PROPERTIE
include_directories("private/include")
include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
bundle(celix.mongoose SOURCES private/src/activator DIRECTORIES root)
-target_link_libraries(celix.mongoose celix_framework mongoose wsock32)
-
+target_link_libraries(celix.mongoose celix_framework mongoose)
+if(WIN32)
+ target_link_libraries(celix.mongoose wsock32)
+endif(WIN32)