mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
fix SPDLOG_BUILD_SHARED cmake option
This commit is contained in:
parent
3b73278348
commit
5b3a18319e
@ -54,9 +54,7 @@ if (NOT DEFINED SPDLOG_MASTER_PROJECT)
|
||||
endif ()
|
||||
|
||||
# build shared option
|
||||
if(NOT WIN32)
|
||||
option(SPDLOG_BUILD_SHARED "Build shared library" OFF)
|
||||
endif()
|
||||
option(SPDLOG_BUILD_SHARED "Build shared library" OFF)
|
||||
|
||||
# example options
|
||||
option(SPDLOG_BUILD_EXAMPLE "Build example" ${SPDLOG_MASTER_PROJECT})
|
||||
|
Loading…
Reference in New Issue
Block a user