mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-06 14:38:17 +01:00
externals: Make catch an interface target
Eliminates top-level inclusion of the headers with include_directories() and instead utilizes it on a by-target basis using target_include_directories().
This commit is contained in:
parent
2449468ede
commit
f9e7e85308
3 changed files with 7 additions and 4 deletions
4
externals/CMakeLists.txt
vendored
4
externals/CMakeLists.txt
vendored
|
|
@ -13,3 +13,7 @@ if (NOT TARGET xbyak)
|
|||
target_include_directories(xbyak INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/xbyak/xbyak)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(catch INTERFACE)
|
||||
target_include_directories(catch INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/catch>)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue