mmontag/chip-player-js
game-music-emu/gme/CMakeLists.txt
:276
target_compile_definitions(gme PRIVATE -DHAVE_ZLIB_H)
target_compile_definitions(gme PRIVATE -DHAVE_ZLIB_H)
CHECK_INCLUDE_FILES(zlib.h HAVE_ZLIB_H)
target_compile_definitions(gme PRIVATE -DHAVE_ZLIB_H)
target_compile_definitions(gme_deps INTERFACE HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
target_compile_definitions(_libarchive PUBLIC HAVE_ZLIB_H=1)
add_compile_definitions(HAVE_NETINET_IN_H HAVE_ARPA_INET_H HAVE_ZLIB_H FINAL_VERSION SDL USE_OPENGL SYSCONF_INSTALL_DIR="${CMAKE_INSTALL_FULL_SYSCONFDIR}")
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
unset(HAVE_ZLIB_H)
add_definitions(
# Use the curl_config.h generated by CMake.
-DHAVE_CONFIG_H
# Enable ZLIB in curl.
-DHAVE_LIBZ
# Ensure curl includes ZLIB headers.
-DHAVE_ZLIB_H
# Enforce stricter curl typechecking.
-DCURL_STRICTER
# Disable unused protocols/options to reduce vulnerability surface.
-DCURL_DISABLE_FTP
-DCURL_DISABLE_NTLM
-DCURL_DISABLE_LIBCURL_OPTION
)
target_compile_definitions(gme PRIVATE -DHAVE_ZLIB_H)
set_target_properties(MiKTeX::Imported::ZLIB
PROPERTIES
IMPORTED_LOCATION "${ZLIB_LIBRARY}"
INTERFACE_COMPILE_DEFINITIONS "HAVE_LIBZ=1;HAVE_ZLIB=1;HAVE_ZLIB_H=1;HAVE_ZLIB_COMPRESS2=1"
INTERFACE_INCLUDE_DIRECTORIES "${ZLIB_INCLUDE_DIRS}"
)
target_compile_definitions(_libarchive PUBLIC HAVE_ZLIB_H=1)
CHECK_INCLUDE_FILE(zlib.h HAVE_ZLIB_H)
target_compile_definitions(_libarchive PUBLIC HAVE_ZLIB_H=1)
check_include_file(zlib.h HAVE_ZLIB_H)
endif(NOT HAVE_ZLIB_H)
endif(NOT HAVE_ZLIB_H)
check_include_files ( zlib.h HAVE_ZLIB_H )
CHECK_INCLUDE_FILES("zlib.h" HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
CHECK_INCLUDE_FILE_CXX("zlib.h" HAVE_ZLIB_H)
endif(NOT HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_file(zlib.h HAVE_ZLIB_H)
check_include_files ( zlib.h HAVE_ZLIB_H )