From ab948cc22f081997df94a659b22f03b9b51ff66f Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 17 Apr 2013 11:20:09 +0000 Subject: [PATCH] Fix cmake compilation problem. --- salome_adm/cmake_files/deprecated/am2cmake.py | 1 + 1 file changed, 1 insertion(+) diff --git a/salome_adm/cmake_files/deprecated/am2cmake.py b/salome_adm/cmake_files/deprecated/am2cmake.py index 18e69841a..a03ad23c5 100644 --- a/salome_adm/cmake_files/deprecated/am2cmake.py +++ b/salome_adm/cmake_files/deprecated/am2cmake.py @@ -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) -- 2.39.2