mirror of
https://github.com/gabime/spdlog.git
synced 2025-04-01 02:42:41 +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 ()
|
endif ()
|
||||||
|
|
||||||
# build shared option
|
# build shared option
|
||||||
if(NOT WIN32)
|
option(SPDLOG_BUILD_SHARED "Build shared library" OFF)
|
||||||
option(SPDLOG_BUILD_SHARED "Build shared library" OFF)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# example options
|
# example options
|
||||||
option(SPDLOG_BUILD_EXAMPLE "Build example" ${SPDLOG_MASTER_PROJECT})
|
option(SPDLOG_BUILD_EXAMPLE "Build example" ${SPDLOG_MASTER_PROJECT})
|
||||||
|
Loading…
Reference in New Issue
Block a user