build: Do not hardcode include dirs

This commit is contained in:
Dennis Klein
2021-06-06 08:29:32 +02:00
parent 6e361b940c
commit 904cbe87a3
2 changed files with 5 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ set_target_properties(${target} PROPERTIES
target_include_directories(${target}
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}>
$<INSTALL_INTERFACE:include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
install(