mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-03 09:22:31 +00:00
351e0d7ed9
Most were still at 3.1 which prompts noisy warnings from up-to-date CMake versions. Version requirements have been removed entirely from dependent subprojects, all others were upped to 3.16.
9 lines
348 B
CMake
9 lines
348 B
CMake
cmake_minimum_required( VERSION 3.16 )
|
|
|
|
if( NOT CMAKE_CROSSCOMPILING )
|
|
include_directories( SYSTEM "${ZLIB_INCLUDE_DIR}" "${BZIP2_INCLUDE_DIR}" "${LZMA_INCLUDE_DIR}" )
|
|
add_executable( zipdir
|
|
zipdir.c )
|
|
target_link_libraries( zipdir ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} lzma )
|
|
set( CROSS_EXPORTS ${CROSS_EXPORTS} zipdir PARENT_SCOPE )
|
|
endif()
|