X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FcreaVariables.sh;h=e674dce6ccf41f0c28e956a65fc7260072e9a03f;hb=8f439546eec74ecb08a8f3da6d248cdc33d5c7be;hp=a2f8daa262684e13a95b03efeafb2d848534913c;hpb=c6a324a9e343fcd992fc3e73e886bc0323d5c0a7;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