Commit f476c82f authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Improve install include directory layout

parent d88ff3d4
...@@ -110,7 +110,7 @@ if (ITA_CONVOLUTION_WITH_NUPCONV) ...@@ -110,7 +110,7 @@ if (ITA_CONVOLUTION_WITH_NUPCONV)
endif () endif ()
target_include_directories ( target_include_directories (
${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:INCLUDE_PATH> ${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:INCLUDE_PATH/ITAConvolution>
) )
target_link_libraries (${PROJECT_NAME} PUBLIC ITABase::ITABase ITAFFT::ITAFFT TBB::tbb) target_link_libraries (${PROJECT_NAME} PUBLIC ITABase::ITABase ITAFFT::ITAFFT TBB::tbb)
...@@ -130,7 +130,7 @@ packageProject ( ...@@ -130,7 +130,7 @@ packageProject (
VERSION ${PROJECT_VERSION} VERSION ${PROJECT_VERSION}
BINARY_DIR ${PROJECT_BINARY_DIR} BINARY_DIR ${PROJECT_BINARY_DIR}
INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include
INCLUDE_DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} INCLUDE_DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ITAConvolution
DEPENDENCIES "ITABase;ITAFFT;TBB" DEPENDENCIES "ITABase;ITAFFT;TBB"
COMPATIBILITY ExactVersion COMPATIBILITY ExactVersion
NAMESPACE ${PROJECT_NAME} NAMESPACE ${PROJECT_NAME}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment