Files @ r27843:9dff22cef669
Branch filter:

Location: cpp/openttd-patchpack/source/os/emscripten/cmake/FindZLIB.cmake

Patric Stout
Codechange: [Emscripten] remove "relative_mode" parameter from -vsdl as it doesn't exist (#11249)
1
2
3
4
5
6
7
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)