From 1d52db3c694eef4dfedbdb4e5047fa00c5b18882 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Thu, 7 Feb 2008 12:06:06 +0000 Subject: [PATCH] Fix install pb --- kernel/cmake/BBTKConfigurePackage_src.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.1