Skip to content

Commit 0ce345c

Browse files
committed
Disable building shared lib by default
1 parent 0796bdb commit 0ce345c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/_build
2+
/amalgamation
3+
/bin

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ option(BUILD_EXAMPLES "Build examples" ${MINIZ_STANDALONE_PROJECT})
4141
option(BUILD_FUZZERS "Build fuzz targets" OFF)
4242
option(AMALGAMATE_SOURCES "Amalgamate sources into miniz.h/c" OFF)
4343
option(BUILD_HEADER_ONLY "Build a header-only version" OFF)
44-
option(BUILD_SHARED_LIBS "Build shared library instead of static" ON)
44+
option(BUILD_SHARED_LIBS "Build shared library instead of static" OFF)
4545
option(INSTALL_PROJECT "Install project" ${MINIZ_STANDALONE_PROJECT})
4646

4747
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)

0 commit comments

Comments
 (0)