From 8e48049013a5a6668d2bd3c1bcb1fbc0ddd9534d Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 7 Sep 2023 14:45:42 +0200 Subject: cmake: consolidate find_package invocations --- source/CMakeLists.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'source/CMakeLists.txt') diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 300953d..ab23c84 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -5,8 +5,16 @@ project("wanda" VERSION "1.0.0" ) -enable_testing() +find_package("Boost" REQUIRED COMPONENTS "headers") +find_package("Catch2" REQUIRED COMPONENTS "Catch2WithMain") +find_package("JPEG" REQUIRED) +find_package("lyra" REQUIRED) +find_package("spdlog" REQUIRED) +find_package("PNG" REQUIRED) + +include("CTest") +include("Catch") add_subdirectory("app") add_subdirectory("lib") -add_subdirectory("tests") \ No newline at end of file +add_subdirectory("tests") -- cgit v1.2.3