X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2FCMakeLists.txt;h=09239fddc60bf23129975d831c1505ba95a06ab5;hb=697cf89322733e2a7bb52244b1b6b9b896969f0f;hp=cb80fdef81a2cc5b2360d428a556bcb6d9b1c20d;hpb=4bf182cf9dc4861758c5b1ff963ffdf8a71465bf;p=gdcm.git diff --git a/gdcmPython/CMakeLists.txt b/gdcmPython/CMakeLists.txt index cb80fdef..09239fdd 100644 --- a/gdcmPython/CMakeLists.txt +++ b/gdcmPython/CMakeLists.txt @@ -13,7 +13,7 @@ INCLUDE_DIRECTORIES( # CMake 2.0 will fully support Swig wrapping so split based on cmake version: # We need to pass that to swig to be sure all modules are generated in the proper dir -SET(CMAKE_SWIG_FLAGS "-outdir ${GDCM_BINARY_DIR}/gdcmPython") +SET(CMAKE_SWIG_FLAGS "-outdir \"${GDCM_BINARY_DIR}/gdcmPython\"") # Looks like a bug to me in cmake 2.0.x: SEPARATE_ARGUMENTS(CMAKE_SWIG_FLAGS)