From 58b7d2f0f1a9a77db30b821d953f0f40d8750bc7 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 24 Mar 2009 09:24:06 +0000 Subject: [PATCH] Compatibility release mode --- adm_local/cmake_files/FindCAS.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.2