aboutsummaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 6e621bf1..43d1dedb 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -6,7 +6,6 @@ target_sources(cru_base PUBLIC
${CRU_BASE_INCLUDE_DIR}/base.hpp
${CRU_BASE_INCLUDE_DIR}/bitmask.hpp
${CRU_BASE_INCLUDE_DIR}/event.hpp
- ${CRU_BASE_INCLUDE_DIR}/format.hpp
${CRU_BASE_INCLUDE_DIR}/logger.hpp
${CRU_BASE_INCLUDE_DIR}/pre_config.hpp
${CRU_BASE_INCLUDE_DIR}/self_resolvable.hpp
@@ -14,5 +13,6 @@ target_sources(cru_base PUBLIC
target_include_directories(cru_base PUBLIC ${CRU_INCLUDE_DIR})
target_compile_definitions(cru_base PUBLIC $<$<CONFIG:Debug>:CRU_DEBUG>)
-find_path(GSL_INCLUDE_DIR NAMES gsl PATH_SUFFIXES ms-gsl)
-target_include_directories(cru_base PUBLIC ${GSL_INCLUDE_DIR})
+find_package(Microsoft.GSL CONFIG REQUIRED)
+find_package(fmt CONFIG REQUIRED)
+target_link_libraries(cru_base PUBLIC Microsoft.GSL::GSL fmt::fmt)