]> Creatis software - gdcm.git/commitdiff
ENH: Support space in the path
authormalaterre <malaterre>
Thu, 8 Sep 2005 14:45:51 +0000 (14:45 +0000)
committermalaterre <malaterre>
Thu, 8 Sep 2005 14:45:51 +0000 (14:45 +0000)
gdcmPython/CMakeLists.txt

index cb80fde..09239fd 100644 (file)
@@ -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)