summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f894ab..7544d54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,6 +50,7 @@ FetchContent_Declare(
URL "https://github.com/catchorg/Catch2/archive/refs/tags/v3.6.0.tar.gz"
URL_HASH "SHA256=485932259a75c7c6b72d4b874242c489ea5155d17efa345eb8cc72159f49f356"
EXCLUDE_FROM_ALL
+ SYSTEM
FIND_PACKAGE_ARGS
)
@@ -58,14 +59,12 @@ FetchContent_Declare(
URL "https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.tar.gz"
URL_HASH "SHA256=0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406"
EXCLUDE_FROM_ALL
+ SYSTEM
FIND_PACKAGE_ARGS
)
FetchContent_MakeAvailable("Catch2" "nlohmann_json")
-find_package("Catch2" REQUIRED)
-find_package("nlohmann_json" REQUIRED)
-
pkg_check_modules("adwaita" IMPORTED_TARGET REQUIRED "libadwaita-1>=${LIBADWAITA_MINIMUM_VERSION}")
pkg_check_modules("giomm" IMPORTED_TARGET REQUIRED "giomm-2.68>=${GLIB_MINIMUM_VERSION}")
pkg_check_modules("glibmm" IMPORTED_TARGET REQUIRED "glibmm-2.68>=${GLIB_MINIMUM_VERSION}")