blob: 819904b6bdebc12e539d6949d52e73cd9ed7eea8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# -*- cmake -*-
include(Prebuilt)
if( TARGET libpng::libpng )
return()
endif()
create_target(libpng::libpng)
use_prebuilt_binary(libpng)
if (WINDOWS)
set_target_libraries(libpng::libpng libpng16)
else()
set_target_libraries(libpng::libpng png16 )
endif()
set_target_include_dirs( libpng::libpng ${LIBS_PREBUILT_DIR}/include/libpng16)
|