]> git.cworth.org Git - apitrace/blob - thirdparty/libpng/CMakeLists.txt
Install all thirdparty licenses.
[apitrace] / thirdparty / libpng / CMakeLists.txt
1 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
2
3 add_library (png_bundled STATIC EXCLUDE_FROM_ALL
4     png.c
5     pngerror.c
6     pngget.c
7     pngmem.c
8     pngpread.c
9     pngread.c
10     pngrio.c
11     pngrtran.c
12     pngrutil.c
13     pngset.c
14     pngtrans.c
15     pngwio.c
16     pngwrite.c
17     pngwtran.c
18     pngwutil.c
19 )
20
21 set_target_properties (png_bundled PROPERTIES
22     COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_C_FLAGS}"
23 )
24
25 install (
26     FILES LICENSE
27     DESTINATION ${DOC_INSTALL_DIR}
28     RENAME LICENSE-libpng.txt
29 )