From: malaterre Date: Fri, 12 May 2006 15:27:45 +0000 (+0000) Subject: BUG: There was still a file not installed at the proper place X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9a041c5d3469181861a9b9ddd1180b553a67f693;p=gdcm.git BUG: There was still a file not installed at the proper place --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ba9f86f4..454ff429 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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