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