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

Improve install include directory layout

parent ba7805e6
......@@ -92,7 +92,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}/ITABase
DEPENDENCIES
"sndfile;samplerate;spline;vista_base;vista_tools;$<IF:$<BOOL:${ITA_BASE_WITH_REGULAR_EXPRESSIONS}>,pcrecpp>"
COMPATIBILITY ExactVersion
......
......@@ -73,7 +73,7 @@ endif ()
file (RELATIVE_PATH INCLUDE_PATH ${PROJECT_SOURCE_DIR} ${CMAKE_CURRENT_LIST_DIR})
target_include_directories (
${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}> $<INSTALL_INTERFACE:INCLUDE_PATH>
${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}> $<INSTALL_INTERFACE:INCLUDE_PATH/ITABase>
)
add_subdirectory (ITABase)
......
Markdown is supported
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