From 09ed677481370fb1044789b0e6b5743db3dc0e6a Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:19:59 -0300 Subject: [PATCH] bring back fa0db22 because alk deleted it --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3869e1..41f4014 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.21) -project(mat-json VERSION 3.1.3) +project(mat-json VERSION 3.1.4) set(SOURCE_FILES src/external/dragonbox.cpp @@ -14,7 +14,9 @@ if (NOT COMMAND CPMAddPackage) include(cmake/get_cpm.cmake) endif() -CPMAddPackage("gh:geode-sdk/result@1.3.1") +if (NOT TARGET GeodeResult) + CPMAddPackage("gh:geode-sdk/result@1.3.1") +endif() # This option is only useful for Geode itself if (DEFINED MAT_JSON_AS_INTERFACE AND MAT_JSON_AS_INTERFACE)