]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Remove -fPIC option on windows
authoradam <adam>
Tue, 8 Sep 2009 09:04:29 +0000 (09:04 +0000)
committeradam <adam>
Tue, 8 Sep 2009 09:04:29 +0000 (09:04 +0000)
salome_adm/cmake_files/am2cmake.py

index 692434ad1da43ebc31f05f6335ff26cc4880a44a..9f7d9833222bd071628a1e3bcdd99fb530c7745e 100644 (file)
@@ -1125,6 +1125,7 @@ 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)