1 2 3 4 5 6 7
r24439:3207de2680bf r24439:3207de2680bf r24439:3207de2680bf r24439:3207de2680bf r24439:3207de2680bf r24439:3207de2680bf r24439:3207de2680bf
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)