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