mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 19:33:34 +00:00
8 lines
206 B
CMake
8 lines
206 B
CMake
|
add_library(ZLIB::ZLIB INTERFACE IMPORTED)
|
||
|
set_target_properties(ZLIB::ZLIB PROPERTIES
|
||
|
INTERFACE_COMPILE_OPTIONS "-sUSE_ZLIB=1"
|
||
|
INTERFACE_LINK_LIBRARIES "-sUSE_ZLIB=1"
|
||
|
)
|
||
|
|
||
|
set(ZLIB_FOUND on)
|