mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 17:41:19 +00:00
f31e0bcd85
This makes sure the internal versions of these libraries bundled with the GZDoom source code is used. This prevents the system from building GZDoom for dynamic linking with incompatible external libraries (see <https://forum.zdoom.org/viewtopic.php?f=2&t=64633>). # Conflicts: # glslang/glslang/CMakeLists.txt # glslang/spirv/CMakeLists.txt
18 lines
383 B
CMake
18 lines
383 B
CMake
cmake_minimum_required( VERSION 2.8.7 )
|
|
|
|
make_release_only()
|
|
|
|
if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -fomit-frame-pointer" )
|
|
endif()
|
|
|
|
add_definitions( -DBZ_NO_STDIO )
|
|
add_library( bz2 STATIC
|
|
blocksort.c
|
|
bzlib.c
|
|
compress.c
|
|
crctable.c
|
|
decompress.c
|
|
huffman.c
|
|
randtable.c )
|
|
target_link_libraries( bz2 )
|