diff options
author | Naios <naios-dev@live.de> | 2017-10-31 01:29:51 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2017-12-17 20:22:33 +0100 |
commit | e60c1f84a7e13577a82046b02b214f9466d20a7c (patch) | |
tree | 4413801132daff4fd180cd6569ffde230b5ba50b /dep/recastnavigation | |
parent | 5a9ccae3e1115d6fb1dcc287b1cb2d45779fd39b (diff) |
Build: Use interface targets for inheriting flags and definitions
* Remove the usage of global flags and definitions
set through the CMAKE_CXX_FLAGS variable.
* Use cmake target compile features for setting the
CXX standard automatically.
* Make C++14 globally available in the project
* Closes #21033
Diffstat (limited to 'dep/recastnavigation')
-rw-r--r-- | dep/recastnavigation/Detour/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dep/recastnavigation/Recast/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/dep/recastnavigation/Detour/CMakeLists.txt b/dep/recastnavigation/Detour/CMakeLists.txt index 078e39f0a80..d99cf1bdb09 100644 --- a/dep/recastnavigation/Detour/CMakeLists.txt +++ b/dep/recastnavigation/Detour/CMakeLists.txt @@ -25,6 +25,8 @@ target_include_directories(Detour ${CMAKE_CURRENT_SOURCE_DIR}/Include) target_link_libraries(Detour + PRIVATE + trinity-dependency-interface PUBLIC zlib) diff --git a/dep/recastnavigation/Recast/CMakeLists.txt b/dep/recastnavigation/Recast/CMakeLists.txt index b21c5e38a4f..34511bedd08 100644 --- a/dep/recastnavigation/Recast/CMakeLists.txt +++ b/dep/recastnavigation/Recast/CMakeLists.txt @@ -29,6 +29,8 @@ target_include_directories(Recast ${CMAKE_CURRENT_SOURCE_DIR}/Include) target_link_libraries(Recast + PRIVATE + trinity-dependency-interface PUBLIC zlib) |