|
From: <th...@us...> - 2014-07-24 08:30:02
|
Revision: 557
http://sourceforge.net/p/cgreen/code/557
Author: thoni56
Date: 2014-07-24 08:29:52 +0000 (Thu, 24 Jul 2014)
Log Message:
-----------
Added patch for STATIC_LIBRARY on Linux from Chris LeBlanc
Modified Paths:
--------------
trunk/cgreen/src/CMakeLists.txt
Modified: trunk/cgreen/src/CMakeLists.txt
===================================================================
--- trunk/cgreen/src/CMakeLists.txt 2014-07-24 08:03:21 UTC (rev 556)
+++ trunk/cgreen/src/CMakeLists.txt 2014-07-24 08:29:52 UTC (rev 557)
@@ -135,9 +135,15 @@
add_library(${CGREEN_STATIC_LIBRARY} STATIC ${cgreen_SRCS})
-target_link_libraries(${CGREEN_STATIC_LIBRARY}
+if (WITH_CXX)
+ target_link_libraries(${CGREEN_STATIC_LIBRARY}
+ ${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES}
+ )
+endif (WITH_CXX)
+
+target_link_libraries(${CGREEN_STATIC_LIBRARY}
${CGREEN_LINK_LIBRARIES}
- ${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES}
+ ${MATH_LIB}
)
set_target_properties(
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|