From: adam Date: Mon, 21 Sep 2009 08:32:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_3rc1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4245e3ab9112bfdaec82aa232872f6f99febdbe9;p=modules%2Fkernel.git *** empty log message *** --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 2f4b6d0d9..27fffcead 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -1141,7 +1141,6 @@ class CMakeFile(object): SET(vars ${vars} -no-undefined) SET(vars ${vars} -lvtkWidgets) IF(WINDOWS) - SET(vars ${vars} -fPIC) SET(vars ${vars} -module) SET(vars ${vars} -Wl,-E) SET(vars ${vars} -Xlinker) @@ -1233,6 +1232,7 @@ class CMakeFile(object): IF(WINDOWS) SET(vars ${vars} -include SALOMEconfig.h) SET(vars ${vars} -ftemplate-depth-32) + SET(vars ${vars} -fPIC) ENDIF(WINDOWS) SET(flags) FOREACH(f ${var})