build: Do not hardcode include dirs

This commit is contained in:
Dennis Klein
2021-06-06 08:29:32 +02:00
committed by Dennis Klein
parent 9a2af84b7e
commit 8bf9e1d0a6
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(