X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FcreaImageIOVariables.sh;fp=Linux%2Fscripts%2FcreaImageIOVariables.sh;h=077ddd12282ce491a0f283d67e1d47227ff0ba2b;hb=8f439546eec74ecb08a8f3da6d248cdc33d5c7be;hp=44febc9b697e878c52578a14c1fa9e6379179b3d;hpb=b727adeb6b109220bef43a58efdb4e87964ffc67;p=creaToolsTools.git diff --git a/Linux/scripts/creaImageIOVariables.sh b/Linux/scripts/creaImageIOVariables.sh index 44febc9..077ddd1 100644 --- a/Linux/scripts/creaImageIOVariables.sh +++ b/Linux/scripts/creaImageIOVariables.sh @@ -43,10 +43,12 @@ boolgdcm2=OFF boolgdcm1=ON fi -cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin CMakeCache.txt -cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin CMakeCache.txt -cmake -D creaBruker_DIR:PATH=$currentdir/creatools_bin/creaBrukerBin CMakeCache.txt -cmake -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON CMakeCache.txt + +cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC CMakeCache.txt +cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin CMakeCache.txt +cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin CMakeCache.txt +cmake -D creaBruker_DIR:PATH=$currentdir/creatools_bin/creaBrukerBin CMakeCache.txt +cmake -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON CMakeCache.txt cmake -D BUILD_creaImageIO_DOC:BOOL=$3 -D USE_GDCM2:BOOL=$boolgdcm2 -D USE_GDCM:BOOL=$boolgdcm1 CMakeCache.txt cmake -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt