Updated cmakelists.txt

This commit is contained in:
gabime 2024-12-01 18:22:44 +02:00
parent 2a0db06e7b
commit 17eb1e1fd7

View File

@ -5,7 +5,7 @@ project(spdlog_example CXX)
if(NOT TARGET spdlog) if(NOT TARGET spdlog)
# Stand-alone build # Stand-alone build
find_package(spdlog REQUIRED) find_package(spdlog 2 REQUIRED)
endif() endif()
add_executable(example example.cpp) add_executable(example example.cpp)