]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix pb of undefined symbols in SMESH MEFISTO library when compiling with cmake -... V6_4_0_BR V6_4_0_WIN_BR V6_4_BR V6_4_0 V6_4_0rc1 V6_4_0rc2 V6_4_0rc3
authorvsr <vsr@opencascade.com>
Thu, 24 Nov 2011 14:15:02 +0000 (14:15 +0000)
committervsr <vsr@opencascade.com>
Thu, 24 Nov 2011 14:15:02 +0000 (14:15 +0000)
salome_adm/cmake_files/am2cmake.py

index f58309bc115bd4f0596ab8b40c591f5689674ebf..b93e4bfaf2dabc574602fa1829a4ed4d29a62e94 100644 (file)
@@ -1726,6 +1726,14 @@ class CMakeFile(object):
         SET(libadd ${libadd} ${dir}/LIBI77.lib)
         ENDIF(name STREQUAL ${target})
         ENDFOREACH(target ${targets})
+        ELSE(WINDOWS)
+        SET(targets)
+        SET(targets ${targets} MEFISTO2D)
+        FOREACH(target ${targets})
+        IF(name STREQUAL ${target})
+        SET(libadd ${libadd} -lf2c)
+        ENDIF(name STREQUAL ${target})
+        ENDFOREACH(target ${targets})
         ENDIF(WINDOWS)
         ''')
         # --