69b7024
--- gdcm-2.4.5.orig/CMakeLists.txt	2015-08-22 16:09:50.000000000 +0200
69b7024
+++ gdcm-2.4.5/CMakeLists.txt	2015-08-29 15:19:12.908123494 +0200
69b7024
@@ -30,17 +30,6 @@
69b7024
 # VTK source tree for "DELAYLOAD"
69b7024
 
69b7024
 #-----------------------------------------------------------------------------
69b7024
-if(NOT DEFINED GDCM_ALLOW_INSOURCE_BUILD)
69b7024
-  # Disallow insource build since I never test that
69b7024
-  string(COMPARE EQUAL "${GDCM_SOURCE_DIR}" "${GDCM_BINARY_DIR}" INSOURCE)
69b7024
-  get_filename_component(PARENTDIR ${GDCM_BINARY_DIR} PATH)
69b7024
-  string(COMPARE EQUAL "${GDCM_SOURCE_DIR}" "${PARENTDIR}" INSOURCESUBDIR)
69b7024
-  if(INSOURCE OR INSOURCESUBDIR)
69b7024
-    message(FATAL_ERROR "GDCM requires an out of source Build. "
69b7024
-      "Please create a separate binary directory and run CMake there. "
69b7024
-      "Or explicitly define GDCM_ALLOW_INSOURCE_BUILD")
69b7024
-  endif()
69b7024
-endif()
69b7024
 #----------------------------------------------------------------------------
69b7024
 set(GDCM_MAJOR_VERSION 2)
69b7024
 set(GDCM_MINOR_VERSION 4)