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/lib/control/CMakeLists.txt | 3 --- source/lib/proto/CMakeLists.txt | 2 -- source/lib/system/CMakeLists.txt | 5 ----- 3 files changed, 10 deletions(-) (limited to 'source/lib') diff --git a/source/lib/control/CMakeLists.txt b/source/lib/control/CMakeLists.txt index 9e5a33d..b4a4b02 100644 --- a/source/lib/control/CMakeLists.txt +++ b/source/lib/control/CMakeLists.txt @@ -3,9 +3,6 @@ cmake_path(GET CMAKE_CURRENT_SOURCE_DIR STEM LIB_NAME) file(GLOB_RECURSE LIB_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" CONFIGURE_DEPENDS "**/*.hpp") file(GLOB_RECURSE LIB_SOURCES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" CONFIGURE_DEPENDS "**/*.cpp") -find_package("Boost" REQUIRED COMPONENTS "headers") -find_package("spdlog" REQUIRED) - add_library("wanda-${LIB_NAME}" ${WANDA_LIBRARY_TYPE} ${LIB_SOURCES} ) diff --git a/source/lib/proto/CMakeLists.txt b/source/lib/proto/CMakeLists.txt index a99c364..b20663c 100644 --- a/source/lib/proto/CMakeLists.txt +++ b/source/lib/proto/CMakeLists.txt @@ -3,8 +3,6 @@ cmake_path(GET CMAKE_CURRENT_SOURCE_DIR STEM LIB_NAME) file(GLOB_RECURSE LIB_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" CONFIGURE_DEPENDS "**/*.hpp") file(GLOB_RECURSE LIB_SOURCES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" CONFIGURE_DEPENDS "**/*.cpp") -find_package("spdlog") - add_library("wanda-${LIB_NAME}" ${WANDA_LIBRARY_TYPE} ${LIB_SOURCES} ) diff --git a/source/lib/system/CMakeLists.txt b/source/lib/system/CMakeLists.txt index 59d0b50..7589c56 100644 --- a/source/lib/system/CMakeLists.txt +++ b/source/lib/system/CMakeLists.txt @@ -3,11 +3,6 @@ cmake_path(GET CMAKE_CURRENT_SOURCE_DIR STEM LIB_NAME) file(GLOB_RECURSE LIB_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" CONFIGURE_DEPENDS "**/*.hpp") file(GLOB_RECURSE LIB_SOURCES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" CONFIGURE_DEPENDS "**/*.cpp") -find_package("Boost" REQUIRED COMPONENTS "headers") -find_package("JPEG" REQUIRED) -find_package("PNG" REQUIRED) -find_package("spdlog" REQUIRED) - find_package("PkgConfig" REQUIRED) pkg_check_modules("GIO" -- cgit v1.2.3