]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Windows porting by ana
authoreap <eap@opencascade.com>
Mon, 9 Sep 2013 09:36:18 +0000 (09:36 +0000)
committereap <eap@opencascade.com>
Mon, 9 Sep 2013 09:36:18 +0000 (09:36 +0000)
salome_adm/cmake_files/FindCAS.cmake

index a1d8e2f1494221c324d166d829e66aeac8213cbf..05b0061a504e2cf90535d5d3afab9afbcf17532d 100644 (file)
@@ -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: