summaryrefslogtreecommitdiff
path: root/os/emscripten/cmake/FindPNG.cmake
blob: 2616af33d9bb6ebcda808b4d4b0881447fc735f1 (plain)
1
2
3
4
5
6
7
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)