build: cmake install targets
This commit is contained in:
parent
eaa5f3ada3
commit
6f74ce1cf4
2 changed files with 13 additions and 0 deletions
6
include/CMakeLists.txt
Normal file
6
include/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# header-only library
|
||||
add_library(indentlog INTERFACE)
|
||||
target_include_directories(indentlog INTERFACE
|
||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue