From: adam Date: Tue, 8 Sep 2009 09:04:29 +0000 (+0000) Subject: Remove -fPIC option on windows X-Git-Tag: V5_1_3rc1~74 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4cd40e97dfad4b6dd6972524e371e328a71ab24e;p=modules%2Fkernel.git Remove -fPIC option on windows --- diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 692434ad1..9f7d98332 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -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)