]> Creatis software - gdcm.git/commitdiff
* Might test the swig version before launch it
authorregrain <regrain>
Mon, 21 Feb 2005 14:29:45 +0000 (14:29 +0000)
committerregrain <regrain>
Mon, 21 Feb 2005 14:29:45 +0000 (14:29 +0000)
   -- BeNours

gdcmPython/CMakeLists.txt

index 3626f30fd430575043517b38ef2f095e3cdea240..21315eddc4189c41fb7260c888ccbe5427bf27a5 100644 (file)
@@ -15,9 +15,9 @@ INCLUDE_DIRECTORIES(
 IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.9)
 
   # 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)
+  SEPARATE_ARGUMENTS(CMAKE_SWIG_FLAGS)
 
   FIND_PACKAGE(SWIG REQUIRED)
   INCLUDE(${SWIG_USE_FILE})