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)
endif ()
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)
......@@ -130,7 +130,7 @@ packageProject (
VERSION ${PROJECT_VERSION}
BINARY_DIR ${PROJECT_BINARY_DIR}
INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include
INCLUDE_DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
INCLUDE_DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ITAConvolution
DEPENDENCIES "ITABase;ITAFFT;TBB"
COMPATIBILITY ExactVersion
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