Skip to content

Commit

Permalink
cmake: disable documentation installation by default
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed May 2, 2024
1 parent 450fbe2 commit b3c4c72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ jobs:
-DSDL3IMAGE_WEBP=ON \
-DSDL3IMAGE_STRICT=ON \
-DSDL3IMAGE_WERROR=ON \
-DSDL3IMAGE_INSTALL_MAN=ON \
-DCMAKE_INSTALL_PREFIX=prefix_cmake \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=$PWD/build \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=$PWD/build \
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cmake_dependent_option(BUILD_SHARED_LIBS "Build the library as a shared library"

cmake_dependent_option(SDL3IMAGE_INSTALL "Enable SDL3_image install target" ${SDL3IMAGE_ROOTPROJECT} "${sdl3image_install_enableable}" OFF)
cmake_dependent_option(SDL3IMAGE_INSTALL_CPACK "Create binary SDL3_image archive using CPack" ${SDL3IMAGE_ROOTPROJECT} "SDL3IMAGE_INSTALL" OFF)
cmake_dependent_option(SDL3IMAGE_INSTALL_MAN "Install man pages for SDL3_image" ${SDL3IMAGE_ROOTPROJECT} "SDL3IMAGE_INSTALL" OFF)
cmake_dependent_option(SDL3IMAGE_INSTALL_MAN "Install man pages for SDL3_image" OFF "SDL3IMAGE_INSTALL" OFF)
cmake_dependent_option(SDL3IMAGE_DEPS_SHARED "Load dependencies dynamically" ON PLATFORM_SUPPORTS_SHARED OFF)
option(SDL3IMAGE_VENDORED "Use vendored third-party libraries" ${vendored_default})
option(SDL3IMAGE_WERROR "Treat warnings as errors" OFF)
Expand Down

0 comments on commit b3c4c72

Please sign in to comment.