mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Updated cmakelists.txt
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user