Merge remote-tracking branch 'origin/yaml-cpp-fix-dependency' into integration_2024_w43 (!3063)
Update yaml-cpp dependency handling - Added CPM fallback in case package is not found automatically. - Using yaml-cpp::yaml-cpp target instead of yaml-cpp to silence deprecation warnings on newer cmake versions.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ set (OPENAIR_DIR ${CMAKE_SOURCE_DIR})
|
||||
|
||||
include("cmake_targets/macros.cmake")
|
||||
if(NOT DEFINED ENV{CPM_SOURCE_CACHE})
|
||||
set(CPM_SOURCE_CACHE ~/.cache/cpm/)
|
||||
set(CPM_SOURCE_CACHE ~/.cache/cpm/ CACHE FILEPATH "Directory to download CPM dependencies")
|
||||
endif()
|
||||
include("cmake_targets/CPM.cmake")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user