update cmakelists

This commit is contained in:
gabime 2024-12-01 18:29:04 +02:00
parent 75c8a196bb
commit 96195adaad

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-2 2 REQUIRED) find_package(spdlog 2 REQUIRED)
endif() endif()
add_executable(example example.cpp) add_executable(example example.cpp)