From fce36f15c90e7afbdc2caa8f3ee5aabfd47aac28 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 9 Sep 2013 09:36:18 +0000 Subject: [PATCH] Windows porting by ana --- salome_adm/cmake_files/FindCAS.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/salome_adm/cmake_files/FindCAS.cmake b/salome_adm/cmake_files/FindCAS.cmake index a1d8e2f14..05b0061a5 100644 --- a/salome_adm/cmake_files/FindCAS.cmake +++ b/salome_adm/cmake_files/FindCAS.cmake @@ -60,7 +60,12 @@ ENDIF() # Definitions: SET(CAS_DEFINITIONS "-DLIN -DLINTEL -DCSFDB") SET(CAS_DEFINITIONS "${CAS_DEFINITIONS} -DNo_exception") -SET(CAS_DEFINITIONS "${CAS_DEFINITIONS} -DHAVE_CONFIG_H") + +# No config.h file in the OPEN CASCADE on WINDOWS platform +IF(NOT WINDOWS) + SET(CAS_DEFINITIONS "${CAS_DEFINITIONS} -DHAVE_CONFIG_H") +ENDIF(NOT WINDOWS) + SET(CAS_DEFINITIONS "${CAS_DEFINITIONS} -DOCC_CONVERT_SIGNALS") # Test for 64 bit machine: -- 2.39.2