X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FcreaVtkVariables.sh;fp=Linux%2Fscripts%2FcreaVtkVariables.sh;h=c9ee2babdc25335d280152a394ff96f223af5605;hb=0b9e4ff6c69b570848e85151cb8d5e3581a320db;hp=c7e70534796f44d4e73081531a99feac4dc79bb8;hpb=a92742a3051a3e7a44178afecdb4f6e267a2fdfd;p=creaToolsTools.git diff --git a/Linux/scripts/creaVtkVariables.sh b/Linux/scripts/creaVtkVariables.sh index c7e7053..c9ee2ba 100644 --- a/Linux/scripts/creaVtkVariables.sh +++ b/Linux/scripts/creaVtkVariables.sh @@ -32,8 +32,9 @@ currentdir=$2 binfolder=$2/creatools_bin/$1Bin cd $binfolder -cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin CMakeCache.txt -cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin CMakeCache.txt +cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC CMakeCache.txt +cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin CMakeCache.txt +cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin CMakeCache.txt cmake -D BUILD_BBTK_PACKAGE_creaVtk:BOOL=ON CMakeCache.txt cmake -D creaVtk_DOC:BOOL=$3 CMakeCache.txt cmake -D BUILD_BBTK_PACKAGE_creaVtk_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt