From 4cd40e97dfad4b6dd6972524e371e328a71ab24e Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 8 Sep 2009 09:04:29 +0000 Subject: [PATCH] Remove -fPIC option on windows --- salome_adm/cmake_files/am2cmake.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2