Skip to content

Commit

Permalink
CMake: restore shared libraries by default for top-level build
Browse files Browse the repository at this point in the history
  • Loading branch information
scw authored and rouault committed Dec 13, 2022
1 parent 8928e1a commit 2ac7752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ project(tiff
if(NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
# libtiff is being included as a subproject of some other project.
set(TIFF_INSTALL_DEFAULT OFF)
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
else()
set(TIFF_INSTALL_DEFAULT ON)
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
endif()

option(tiff-tools "build TIFF tools" ON)
Expand Down

0 comments on commit 2ac7752

Please sign in to comment.