diff options
author | Aki <please@ignore.pl> | 2022-02-09 22:15:14 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-02-09 22:16:06 +0100 |
commit | 2d7dd844219965b81e81848e60d7f7bf23035ee4 (patch) | |
tree | 1b6d1e0961ae5d20e40f27b08a73f41e1dedaee4 /zlib | |
parent | 3f07a2c060c5c6d53ca6c066f50ec91bcf04b52d (diff) | |
download | starshatter-2d7dd844219965b81e81848e60d7f7bf23035ee4.zip starshatter-2d7dd844219965b81e81848e60d7f7bf23035ee4.tar.gz starshatter-2d7dd844219965b81e81848e60d7f7bf23035ee4.tar.bz2 |
Removed install-time rules from third-party libraries
Removing and starting anew is one way. The other way would be to move the
third-party libraries out of the tree and just install them properly, but
I'm unsure how well it will go for Windows hosts, so I'm choosing the
self-contained route.
Diffstat (limited to 'zlib')
-rw-r--r-- | zlib/CMakeLists.txt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/zlib/CMakeLists.txt b/zlib/CMakeLists.txt index c68a2bb..c3d75e8 100644 --- a/zlib/CMakeLists.txt +++ b/zlib/CMakeLists.txt @@ -8,12 +8,6 @@ set(VERSION "1.2.11") option(ASM686 "Enable building i686 assembly implementation") option(AMD64 "Enable building amd64 assembly implementation") -set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables") -set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") -set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") -set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages") -set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") - include(CheckTypeSize) include(CheckFunctionExists) include(CheckIncludeFile) @@ -214,22 +208,6 @@ elseif(BUILD_SHARED_LIBS AND WIN32) set_target_properties(zlib PROPERTIES SUFFIX "1.dll") endif() -if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL ) - install(TARGETS zlib zlibstatic - RUNTIME DESTINATION "${INSTALL_BIN_DIR}" - ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" - LIBRARY DESTINATION "${INSTALL_LIB_DIR}" ) -endif() -if(NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL ) - install(FILES ${ZLIB_PUBLIC_HDRS} DESTINATION "${INSTALL_INC_DIR}") -endif() -if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL ) - install(FILES zlib.3 DESTINATION "${INSTALL_MAN_DIR}/man3") -endif() -if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL ) - install(FILES ${ZLIB_PC} DESTINATION "${INSTALL_PKGCONFIG_DIR}") -endif() - #============================================================================ # Example binaries #============================================================================ |