(abandoned experiment with get_target_property())
This commit is contained in:
parent
1df07c4bb1
commit
19ca2b6a34
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@ target_code_coverage(${SELF_EXECUTABLE_NAME} AUTO ALL)
|
|||
# puts include directory in NIX_CFLAGS_COMPILE, so stuff 'just works'
|
||||
#
|
||||
find_package(Catch2 2 REQUIRED)
|
||||
set(Catch2_INCLUDES "${Catch2_DIR}/../..")
|
||||
set(Catch2_INCLUDES "${Catch2_DIR}/../../../include")
|
||||
#get_target_property(Catch2_INCLUDES Catch2 INCLUDE_DIRECTORIES)
|
||||
target_include_directories(${SELF_EXECUTABLE_NAME} PUBLIC ${Catch2_INCLUDES})
|
||||
|
||||
#xo_internal_dependency(${SELF_EXECUTABLE_NAME} Catch2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue