From 5ebe9a21652625c6cddd3602a1f46a24c6879421 Mon Sep 17 00:00:00 2001 From: sruon Date: Wed, 6 May 2026 20:18:39 -0600 Subject: [PATCH 1/2] Link earcut.hpp; polygon triangulation lib --- ext/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt index 4e96fe0cdf2..4bdfeb17385 100644 --- a/ext/CMakeLists.txt +++ b/ext/CMakeLists.txt @@ -96,6 +96,17 @@ CPMAddPackage( SYSTEM ON ) # defines: fast_obj +CPMAddPackage( + NAME earcut_hpp + GITHUB_REPOSITORY mapbox/earcut.hpp + GIT_TAG v2.2.4 + DOWNLOAD_ONLY ON +) # defines: earcut_hpp +if(earcut_hpp_ADDED) # header-only + add_library(earcut_hpp INTERFACE) + target_include_directories(earcut_hpp SYSTEM INTERFACE ${earcut_hpp_SOURCE_DIR}/include/) +endif() + CPMAddPackage( NAME argparse GITHUB_REPOSITORY p-ranav/argparse @@ -296,6 +307,7 @@ set(MAP_ONLY_EXTERNAL_LIBS RecastNavigation::Recast RecastNavigation::Detour fast_obj + earcut_hpp zlibstatic ) From 6ee8fcc2147026e1c281f5b91f0c4c91cfe28d89 Mon Sep 17 00:00:00 2001 From: sruon Date: Wed, 6 May 2026 20:31:53 -0600 Subject: [PATCH 2/2] Link rapidyaml; YAML parsing lib --- ext/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt index 4bdfeb17385..f3b0bfa0822 100644 --- a/ext/CMakeLists.txt +++ b/ext/CMakeLists.txt @@ -107,6 +107,17 @@ if(earcut_hpp_ADDED) # header-only target_include_directories(earcut_hpp SYSTEM INTERFACE ${earcut_hpp_SOURCE_DIR}/include/) endif() +CPMAddPackage( + NAME rapidyaml + GITHUB_REPOSITORY biojppm/rapidyaml + GIT_TAG v0.12.0 + SYSTEM ON + OPTIONS + "RYML_BUILD_TOOLS OFF" + "RYML_BUILD_API OFF" + "RYML_INSTALL OFF" +) # defines: ryml + CPMAddPackage( NAME argparse GITHUB_REPOSITORY p-ranav/argparse @@ -308,6 +319,7 @@ set(MAP_ONLY_EXTERNAL_LIBS RecastNavigation::Detour fast_obj earcut_hpp + ryml zlibstatic )