blob: 672f963ea17ec32307e6e71de258d3c453c1510e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# -*- cmake -*-
include(Prebuilt)
include_guard()
add_library( ll::libpng INTERFACE IMPORTED )
use_prebuilt_binary(libpng)
if (WINDOWS)
target_link_libraries(ll::libpng INTERFACE libpng16)
else()
target_link_libraries(ll::libpng INTERFACE png16 )
endif()
target_include_directories( ll::libpng SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/libpng16)
|