]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Add a flag for the MEFISTO compilation with f2c
authoradam <adam>
Mon, 14 Sep 2009 14:02:11 +0000 (14:02 +0000)
committeradam <adam>
Mon, 14 Sep 2009 14:02:11 +0000 (14:02 +0000)
salome_adm/cmake_files/am2cmake.py

index eead8f5ed3c576a269dd860b0b05b841f011904a..9024db19a9e1eb612dbf2678509b370ed2218ee6 100644 (file)
@@ -1202,6 +1202,7 @@ class CMakeFile(object):
         SET(dir $ENV{F2CHOME})
         STRING(REPLACE "\\\\" "/" dir ${dir})
         SET(var ${var} -I${dir})
+        SET(var ${var} -DF2C_BUILD)
         ENDIF(name STREQUAL ${target})
         ENDFOREACH(target ${targets})
         ENDIF(WINDOWS)