From: rnv Date: Wed, 17 Apr 2013 11:20:09 +0000 (+0000) Subject: Fix cmake compilation problem. X-Git-Tag: V7_2_0rc1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ab948cc22f081997df94a659b22f03b9b51ff66f;p=modules%2Fkernel.git Fix cmake compilation problem. --- 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)