gzdoom/tools/zipdir/CMakeLists.txt
2023-09-17 23:52:51 +02:00

9 lines
314 B
CMake

cmake_minimum_required( VERSION 3.16 )
if( NOT CMAKE_CROSSCOMPILING )
include_directories( SYSTEM "${BZIP2_INCLUDE_DIR}" "${LZMA_INCLUDE_DIR}" )
add_executable( zipdir
zipdir.c )
target_link_libraries( zipdir miniz ${BZIP2_LIBRARIES} lzma )
set( CROSS_EXPORTS ${CROSS_EXPORTS} zipdir PARENT_SCOPE )
endif()