Commit 5b3a1831 authored by Martin Vejdarski's avatar Martin Vejdarski

fix SPDLOG_BUILD_SHARED cmake option

parent 3b732783
...@@ -54,9 +54,7 @@ if (NOT DEFINED SPDLOG_MASTER_PROJECT) ...@@ -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})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment