diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 90211423..591759c8 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -5,7 +5,7 @@ project(spdlog_example CXX) if(NOT TARGET spdlog) # Stand-alone build - find_package(spdlog REQUIRED) + find_package(spdlog 2 REQUIRED) endif() add_executable(example example.cpp)