...
This commit is contained in:
@@ -6,7 +6,8 @@ option(SNPLIB_BUILD_EXAMPLES "Build examples" ON)
|
|||||||
option(SNPLIB_USE_SPDLOG "Use of spdlog library" ON)
|
option(SNPLIB_USE_SPDLOG "Use of spdlog library" ON)
|
||||||
|
|
||||||
if(SNPLIB_USE_SPDLOG)
|
if(SNPLIB_USE_SPDLOG)
|
||||||
find_package(spdlog CONFIG)
|
include(FetchContent)
|
||||||
|
# find_package(spdlog CONFIG)
|
||||||
if(NOT spdlog_FOUND)
|
if(NOT spdlog_FOUND)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
spdlog
|
spdlog
|
||||||
|
|||||||
Reference in New Issue
Block a user