mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-08 01:10:28 +00:00
8 lines
205 B
CMake
8 lines
205 B
CMake
|
add_library(PNG::PNG INTERFACE IMPORTED)
|
||
|
set_target_properties(PNG::PNG PROPERTIES
|
||
|
INTERFACE_COMPILE_OPTIONS "-sUSE_LIBPNG=1"
|
||
|
INTERFACE_LINK_LIBRARIES "-sUSE_LIBPNG=1"
|
||
|
)
|
||
|
|
||
|
set(PNG_FOUND on)
|