mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-18 02:12:00 +00:00
85fbcf0428
* Report the include location if they're external libraries; * Remove unneeded include location messages from zipdir.
9 lines
342 B
CMake
9 lines
342 B
CMake
cmake_minimum_required( VERSION 2.8.7 )
|
|
|
|
if( NOT CMAKE_CROSSCOMPILING )
|
|
include_directories( "${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()
|