feat(Cmake/Build): Use interface targets for inheriting flags and definitions (#2255)
Co-authored-by: Naios Naios@users.noreply.github.com
This commit is contained in:
parent
91d62373cc
commit
0e6c9a18f4
20 changed files with 291 additions and 72 deletions
2
deps/recastnavigation/Detour/CMakeLists.txt
vendored
2
deps/recastnavigation/Detour/CMakeLists.txt
vendored
|
|
@ -35,6 +35,8 @@ target_include_directories(Detour
|
|||
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(Detour
|
||||
PRIVATE
|
||||
acore-dependency-interface
|
||||
PUBLIC
|
||||
zlib)
|
||||
|
||||
|
|
|
|||
2
deps/recastnavigation/Recast/CMakeLists.txt
vendored
2
deps/recastnavigation/Recast/CMakeLists.txt
vendored
|
|
@ -39,6 +39,8 @@ target_include_directories(Recast
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/Include)
|
||||
|
||||
target_link_libraries(Recast
|
||||
PRIVATE
|
||||
acore-dependency-interface
|
||||
PUBLIC
|
||||
zlib)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue