From 0b672b6fc6aedf04e8b8666c66657e1c866c41d6 Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 23 Mar 2012 13:24:11 +0000 Subject: [PATCH] MED CMakization --- adm_local/cmake_files/FindCAS.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/adm_local/cmake_files/FindCAS.cmake b/adm_local/cmake_files/FindCAS.cmake index 5f91805e0..7491a5a27 100644 --- a/adm_local/cmake_files/FindCAS.cmake +++ b/adm_local/cmake_files/FindCAS.cmake @@ -38,9 +38,13 @@ SET(CAS_CPPFLAGS) # SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DOCC_VERSION_MINOR=${OCC_VERSION_MINOR}) # SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DOCC_VERSION_MAINTENANCE=${OCC_VERSION_MAINTENANCE}) SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DLIN -DLINTEL -DCSFDB) +SET(CAS_FLAGS "-DLIN -DLINTEL -DCSFDB") SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DNo_exception) +SET(CAS_FLAGS "${CAS_FLAGS} -DNo_exception") SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DHAVE_CONFIG_H) +SET(CAS_FLAGS "${CAS_FLAGS} -DHAVE_CONFIG_H") SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DHAVE_LIMITS_H) +SET(CAS_FLAGS "${CAS_FLAGS} -DHAVE_LIMITS_H") SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -I${CASROOT}/inc) # to be removed SET(CAS_INCLUDES_DIR ${CASROOT}/inc) -- 2.39.2