X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FcreaVariables.sh;fp=Linux%2Fscripts%2FcreaVariables.sh;h=e674dce6ccf41f0c28e956a65fc7260072e9a03f;hb=0b9e4ff6c69b570848e85151cb8d5e3581a320db;hp=a2f8daa262684e13a95b03efeafb2d848534913c;hpb=a92742a3051a3e7a44178afecdb4f6e267a2fdfd;p=creaToolsTools.git diff --git a/Linux/scripts/creaVariables.sh b/Linux/scripts/creaVariables.sh index a2f8daa..e674dce 100644 --- a/Linux/scripts/creaVariables.sh +++ b/Linux/scripts/creaVariables.sh @@ -31,7 +31,7 @@ binfolder=$2/creatools_bin/$1Bin cd $binfolder -cmake -D CREA_BUILD_VTK:BOOL=ON -D CREA_BUILD_WX:BOOL=ON CMakeCache.txt +cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC -D CREA_BUILD_VTK:BOOL=ON -D CREA_BUILD_WX:BOOL=ON CMakeCache.txt cmake CMakeCache.txt cmake CMakeCache.txt