revert failed experiment
This commit is contained in:
parent
0bc65c8727
commit
7e80de41aa
1 changed files with 4 additions and 1 deletions
|
|
@ -58,8 +58,11 @@ macro(xo_include_headeronly_options2 target)
|
|||
# need that build directory to also appear in
|
||||
# compiler's include path
|
||||
#
|
||||
# NOTE: using INTERFACE here is mandatory. Otherwise get error:
|
||||
# target_include_directories may only set INTERFACE properties on INTERFACE targets
|
||||
#
|
||||
target_include_directories(
|
||||
${target} PUBLIC
|
||||
${target} INTERFACE
|
||||
$<INSTALL_INTERFACE:include>
|
||||
$<INSTALL_INTERFACE:include/xo/${target}>
|
||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include> # e.g. for #include "indentlog/scope.hpp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue