From: jean-pierre roux Date: Thu, 7 Feb 2008 12:06:06 +0000 (+0000) Subject: Fix install pb X-Git-Tag: r0.6.1~252 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1d52db3c694eef4dfedbdb4e5047fa00c5b18882;p=bbtk.git Fix install pb --- diff --git a/kernel/cmake/BBTKConfigurePackage_src.cmake b/kernel/cmake/BBTKConfigurePackage_src.cmake index c854b7b..425c792 100644 --- a/kernel/cmake/BBTKConfigurePackage_src.cmake +++ b/kernel/cmake/BBTKConfigurePackage_src.cmake @@ -16,7 +16,7 @@ CONFIGURE_FILE( @ONLY IMMEDIATE ) INSTALL( - FILES bb${BBTK_PACKAGE_NAME}Package.h + FILES ${CMAKE_CURRENT_BINARY_DIR}/bb${BBTK_PACKAGE_NAME}Package.h DESTINATION include/bb${BBTK_PACKAGE_NAME} ) #---------------------------------------------------------------------------- @@ -90,7 +90,7 @@ FOREACH(xmlfile ${BBTK_PACKAGE_XML_SOURCES}) ENDIF(NOT BBTK_PACKAGE_CXX_SOURCES MATCHES "${filename}") INSTALL( - FILES ${filename}.h + FILES ${CMAKE_CURRENT_BINARY_DIR}/${filename}.h DESTINATION include/bb${BBTK_PACKAGE_NAME}) ENDFOREACH(xmlfile)