From 9a041c5d3469181861a9b9ddd1180b553a67f693 Mon Sep 17 00:00:00 2001 From: malaterre Date: Fri, 12 May 2006 15:27:45 +0000 Subject: [PATCH] BUG: There was still a file not installed at the proper place --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.45.1