diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2023-09-07 14:45:42 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2023-09-07 14:45:42 +0200 |
| commit | 8e48049013a5a6668d2bd3c1bcb1fbc0ddd9534d (patch) | |
| tree | 5d7d9943006e42918365f7ea283c2b29279cacd5 /source/CMakeLists.txt | |
| parent | 152c44ffb96143683a7fdaabac1c747aaf6ad0dc (diff) | |
| download | wanda-8e48049013a5a6668d2bd3c1bcb1fbc0ddd9534d.tar.xz wanda-8e48049013a5a6668d2bd3c1bcb1fbc0ddd9534d.zip | |
cmake: consolidate find_package invocations
Diffstat (limited to 'source/CMakeLists.txt')
| -rw-r--r-- | source/CMakeLists.txt | 12 |
1 files changed, 10 insertions, 2 deletions
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") |
