mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +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)
|