]> Creatis software - crea.git/commitdiff
Feature 1905: New version v1_1_0
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 31 Jan 2013 16:58:07 +0000 (17:58 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 31 Jan 2013 16:58:07 +0000 (17:58 +0100)
Bug  1538 Diego CACERES -Eduardo DAVILA Normal CMakeList FindWxWidgets debug

Version.cmake
cmake/FindWxWidgetsWin32.cmake

index 34698ae9ffdfbcdadfb619ff338b673163041eed..abc8e56fe960fb7be5c3b2ad5850ed0ede695eb8 100644 (file)
@@ -24,5 +24,5 @@
 # ------------------------------------------------------------------------ */  
 
 SET(crea_MAJOR_VERSION 1)
-SET(crea_MINOR_VERSION 0)
+SET(crea_MINOR_VERSION 1)
 SET(crea_BUILD_VERSION 0)
index fadac59e59083417e881c31ea729706623101196..e7541fb5796610efd4ad28687b9a113ab36d4c60 100644 (file)
@@ -127,12 +127,29 @@ SET(WXWIDGETS_CONFIG_PATH ${WXWIDGETS_ROOT_DIR})
 #
 IF( WIN32_STYLE_FIND )
 
+# EED 31 jan 2013
+#              IF( WXWIDGETS_USE_SHARED )
+#        SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_dll" )
+#              ELSE( WXWIDGETS_USE_SHARED )
+#        SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_lib" )
+#              ENDIF( WXWIDGETS_USE_SHARED )
+
+  IF (CMAKE_CL_64)  ## EED 31 jan 2012
+               IF( WXWIDGETS_USE_SHARED )
+        SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_amd64_dll" )
+               ELSE( WXWIDGETS_USE_SHARED )
+        SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_amd_lib" )
+               ENDIF( WXWIDGETS_USE_SHARED )
+       ELSE(CMAKE_CL_64)
                IF( WXWIDGETS_USE_SHARED )
         SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_dll" )
                ELSE( WXWIDGETS_USE_SHARED )
         SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_lib" )
                ENDIF( WXWIDGETS_USE_SHARED )
+       ENDIF(CMAKE_CL_64)
+       
     SET( WXWIDGETS_LINK_DIRECTORIES ${WXWIDGETS_LIB_PATH} )
+       
 
 ELSE( WIN32_STYLE_FIND )
   IF (UNIX_STYLE_FIND)