diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c3a78f..79b1c1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -263,6 +263,7 @@ include_directories(${OpenCV_INCLUDE_DIR}) message(STATUS "Found OpenCV headers in: ${OpenCV_INCLUDE_DIR}") message(STATUS "Found OpenCV_LIBS: ${OpenCV_LIBS}") +find_package(fmt REQUIRED) add_subdirectory(thirdparty) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index a0800e6..d2e054c 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.10) add_library(nlohmann::json INTERFACE IMPORTED GLOBAL) set_property(TARGET nlohmann::json PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}/json/) -add_subdirectory(fmt EXCLUDE_FROM_ALL) add_subdirectory(ros EXCLUDE_FROM_ALL) add_subdirectory(apriltag EXCLUDE_FROM_ALL)