From 1b2fdf45fd08f490f977b7bebfa964b59b612208 Mon Sep 17 00:00:00 2001 From: malaterre Date: Sun, 16 May 2004 23:31:13 +0000 Subject: [PATCH] Bad hack for writting a blank file and shut up cmake --- gdcmPython/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdcmPython/CMakeLists.txt b/gdcmPython/CMakeLists.txt index aa9b1348..03b75b59 100644 --- a/gdcmPython/CMakeLists.txt +++ b/gdcmPython/CMakeLists.txt @@ -40,6 +40,9 @@ ELSE(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.9) IF(NOT SWIG_EXECUTABLE) MESSAGE(FATAL_ERROR "Swig could not be found wrapping is impossible") ENDIF(NOT SWIG_EXECUTABLE) + + # Bad hack to work around bug #846 in cmake, hopefully will desepear soon anyway + FILE(READ ${GDCM_BINARY_DIR}/gdcmPython/gdcm.py SWIG_GDCM_PY) # Build our custom command : ADD_CUSTOM_COMMAND( -- 2.48.1