certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi CMakeLists.txt


From: certi-cvs
Subject: [certi-cvs] certi CMakeLists.txt
Date: Thu, 11 Nov 2010 12:33:02 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      10/11/11 12:33:01

Modified files:
        .              : CMakeLists.txt 

Log message:
        Fix bug #25465 : windows debug dlls required

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/CMakeLists.txt?cvsroot=certi&r1=1.87&r2=1.88

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/CMakeLists.txt,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- CMakeLists.txt      8 Nov 2010 13:04:20 -0000       1.87
+++ CMakeLists.txt      11 Nov 2010 12:33:01 -0000      1.88
@@ -381,8 +381,15 @@
               COMMAND ${CPACK_COMMAND} -G ZIP --config CPackSourceConfig.cmake
               COMMENTS "Build a ZIP file containing the source")
 
-    # NSIS installer specific part
+    # If this is a debug build
+    # we should include debug runtime libs too
+    IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
+        SET(CMAKE_INSTALL_DEBUG_LIBRARIES "Yes")
+    ENDIF(CMAKE_BUILD_TYPE STREQUAL "Debug")
+    # Install Runtime Libraries
     INCLUDE(InstallRequiredSystemLibraries)
+    
+    # NSIS installer specific part
     SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/doc/\\\\certi.bmp")
     SET(CPACK_NSIS_CREATE_ICONS "
              CreateShortCut 
\\\"$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\RTIG.lnk\\\" 
\\\"$INSTDIR\\\\bin\\\\RTIG.exe\\\"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]