]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
*** empty log message ***
authoradam <adam>
Mon, 21 Sep 2009 08:32:22 +0000 (08:32 +0000)
committeradam <adam>
Mon, 21 Sep 2009 08:32:22 +0000 (08:32 +0000)
salome_adm/cmake_files/am2cmake.py

index 2f4b6d0d926f69ab9da891665002ecce065b831f..27fffceadb81c44af29381fd6ba4320f69c1a16e 100644 (file)
@@ -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})