Skip to content

Commit

Permalink
build: disable shared lib on msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed Jan 1, 2024
1 parent ecfbd50 commit f1083e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ elseif(MSVC)
if(MSVC_VERSION LESS 1900)
add_compile_definitions(snprintf=_snprintf)
endif()

set(BUILD_SHARED_LIBS OFF)
endif()


Expand Down

0 comments on commit f1083e9

Please sign in to comment.