]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Compatibility release mode
authoradam <adam>
Tue, 24 Mar 2009 09:24:06 +0000 (09:24 +0000)
committeradam <adam>
Tue, 24 Mar 2009 09:24:06 +0000 (09:24 +0000)
adm_local/cmake_files/FindCAS.cmake

index 8490c7c66f69cca0762776ee881ff7c546adf900..b56514657ac05708c580cdacbf2cd6477878632f 100644 (file)
@@ -37,7 +37,11 @@ SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DHAVE_LIMITS_H)
 SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -I${CASROOT}/inc)
 
 IF(WINDOWS)
-  SET(CASROOT_LIBDIR ${CASROOT}/win32/libd)
+  IF(CMAKE_BUILD_TYPE STREQUAL Debug)
+    SET(CASROOT_LIBDIR ${CASROOT}/win32/libd)
+  ELSE(CMAKE_BUILD_TYPE STREQUAL Debug)
+    SET(CASROOT_LIBDIR ${CASROOT}/win32/lib)
+  ENDIF(CMAKE_BUILD_TYPE STREQUAL Debug)
 ELSE(WINDOWS)
   SET(CASROOT_LIBDIR ${CASROOT}/lib)
 ENDIF(WINDOWS)