mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-14 17:52:05 +08:00
Updated cmakelists.txt
This commit is contained in:
parent
2a0db06e7b
commit
17eb1e1fd7
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user