Skip to content

Commit

Permalink
fix SPDLOG_BUILD_SHARED cmake option
Browse files Browse the repository at this point in the history
  • Loading branch information
vejmartin committed Mar 10, 2020
1 parent 3b73278 commit 5b3a183
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 5b3a183

Please sign in to comment.