fix SPDLOG_BUILD_SHARED cmake option

This commit is contained in:
Martin Vejdarski 2020-03-11 03:05:44 +07:00
parent 3b73278348
commit 5b3a18319e

View File

@ -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})