From: eap Date: Mon, 9 Sep 2013 09:36:18 +0000 (+0000) Subject: Windows porting by ana X-Git-Tag: begin_agr_portmanager_branch_131004~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fce36f15c90e7afbdc2caa8f3ee5aabfd47aac28;p=modules%2Fkernel.git Windows porting by ana --- 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: