]> Creatis software - gdcm.git/commitdiff
BUG: There was still a file not installed at the proper place
authormalaterre <malaterre>
Fri, 12 May 2006 15:27:45 +0000 (15:27 +0000)
committermalaterre <malaterre>
Fri, 12 May 2006 15:27:45 +0000 (15:27 +0000)
CMakeLists.txt

index ba9f86f449b3d9ea1f8ac1be5112bc68603611fa..454ff42933427b98b627411453ab3a5747928c35 100644 (file)
@@ -241,9 +241,12 @@ ENDIF( ${CMAKE_HAVE_SYS_SOCKET_H} )
 OPTION(GDCM_FORCE_BIGENDIAN_EMULATION "Force Big Endian Emulation. Do use if you don't know what you are doing." OFF)
 
 CONFIGURE_FILE(${GDCM_SOURCE_DIR}/gdcmConfigure.h.in
-               ${GDCM_BINARY_DIR}/gdcmConfigure.h @ONLY IMMEDIATE)
+               ${GDCM_BINARY_DIR}/gdcmConfigure.h @ONLY IMMEDIATE
+               )
 
-INSTALL_FILES(/include/gdcm .h gdcmConfigure.h)
+IF(NOT GDCM_INSTALL_NO_DEVELOPMENT)
+  INSTALL_FILES(${GDCM_INSTALL_INCLUDE_DIR} FILES gdcmConfigure.h)
+ENDIF(NOT GDCM_INSTALL_NO_DEVELOPMENT)
 
 #-----------------------------------------------------------------------------
 # Add the testing directories