From: adam Date: Tue, 24 Mar 2009 09:24:06 +0000 (+0000) Subject: Compatibility release mode X-Git-Tag: V5_1_2rc1~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58b7d2f0f1a9a77db30b821d953f0f40d8750bc7;p=modules%2Fgui.git Compatibility release mode --- diff --git a/adm_local/cmake_files/FindCAS.cmake b/adm_local/cmake_files/FindCAS.cmake index 8490c7c66..b56514657 100644 --- a/adm_local/cmake_files/FindCAS.cmake +++ b/adm_local/cmake_files/FindCAS.cmake @@ -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)