[cmake-commits] hoffman committed CMakeLists.txt 1.8 1.8.6.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Nov 28 14:19:48 EST 2006
Update of /cvsroot/CMake/CMake/Tests/Simple
In directory public:/mounts/ram/cvs-serv14425/Tests/Simple
Modified Files:
Tag: CMake-2-4
CMakeLists.txt
Log Message:
ENH: merge in changes from the main tree
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Simple/CMakeLists.txt,v
retrieving revision 1.8
retrieving revision 1.8.6.1
diff -u -d -r1.8 -r1.8.6.1
--- CMakeLists.txt 6 Jul 2005 19:24:31 -0000 1.8
+++ CMakeLists.txt 28 Nov 2006 19:19:44 -0000 1.8.6.1
@@ -10,3 +10,8 @@
)
target_link_libraries (simple simpleLib)
+
+# make sure optimized libs are not used by debug builds
+if(CMAKE_BUILD_TYPE MATCHES Debug)
+ target_link_libraries(simple optimized c:/not/here.lib )
+endif(CMAKE_BUILD_TYPE MATCHES Debug)
More information about the Cmake-commits
mailing list