]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix cmake compilation problem.
authorrnv <rnv@opencascade.com>
Wed, 17 Apr 2013 11:20:09 +0000 (11:20 +0000)
committerrnv <rnv@opencascade.com>
Wed, 17 Apr 2013 11:20:09 +0000 (11:20 +0000)
salome_adm/cmake_files/deprecated/am2cmake.py

index 18e69841a4e01c16d17e3b6a652fcf4126a77ff8..a03ad23c591229cd29ec442ea6d72fa5123805b7 100644 (file)
@@ -1834,6 +1834,7 @@ class CMakeFile(object):
         ''')
         # --
         newlines.append(r'''
+        STRING(REPLACE "-module" "" ${amname}_LDFLAGS "${${amname}_LDFLAGS}")
         SET(libs ${PLATFORM_LIBADD} ${PLATFORM_LDFLAGS} ${LDADD} ${${amname}_LIBADD} ${${amname}_LDADD} ${${amname}_LDFLAGS})
         FOREACH(lib SALOMEBasics SalomeBatch)
         IF(name STREQUAL lib)