diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-05-19 12:48:08 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-05-19 12:48:08 +0200 |
| commit | 033ecf6714089d2ce331152f5e120567f8d546cf (patch) | |
| tree | 9ccf566a00df885438522b6d75f337aff2f00bea /libs/kstd/CMakeLists.txt | |
| parent | fd55ecdd2d3b96d667a2f5fb13625d363a7a9f93 (diff) | |
| download | kernel-033ecf6714089d2ce331152f5e120567f8d546cf.tar.xz kernel-033ecf6714089d2ce331152f5e120567f8d546cf.zip | |
build: clean up dependencies
Diffstat (limited to 'libs/kstd/CMakeLists.txt')
| -rw-r--r-- | libs/kstd/CMakeLists.txt | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt index 1cc75b7..0f64761 100644 --- a/libs/kstd/CMakeLists.txt +++ b/libs/kstd/CMakeLists.txt @@ -9,27 +9,6 @@ project("kstd" include("CTest") #[============================================================================[ -# External Dependencies -#]============================================================================] - -include("FetchContent") - -if (BUILD_TESTING) - FetchContent_Declare( - "Catch2" - URL "https://github.com/catchorg/Catch2/archive/refs/tags/v3.7.1.tar.gz" - URL_HASH "SHA256=c991b247a1a0d7bb9c39aa35faf0fe9e19764213f28ffba3109388e62ee0269c" - EXCLUDE_FROM_ALL - FIND_PACKAGE_ARGS - ) - - FetchContent_MakeAvailable("Catch2") - - find_package("Catch2") - include("Catch") -endif() - -#[============================================================================[ # Library #]============================================================================] @@ -88,6 +67,9 @@ endif() #]============================================================================] if(BUILD_TESTING) + find_package("Catch2") + include("Catch") + add_executable("kstd_tests") add_executable("kstd::tests" ALIAS "kstd_tests") |
