build_environment: opencolorio 1.1.0
[blender.git] / build_files / build_environment / patches / cmakelists_lcms.txt
1 project(lcms2)
2
3 cmake_minimum_required(VERSION 2.8)
4
5 include_directories(include)
6
7 set(HEADERS
8         include/lcms2.h
9         include/lcms2_plugin.h
10 )
11 set(SOURCES
12     src/cmscam02.c
13     src/cmscgats.c
14     src/cmscnvrt.c
15     src/cmserr.c
16     src/cmsgamma.c
17     src/cmsgmt.c
18     src/cmsintrp.c
19     src/cmsio0.c
20     src/cmsio1.c
21     src/cmslut.c
22     src/cmsmd5.c
23     src/cmsmtrx.c
24     src/cmsnamed.c
25     src/cmsopt.c
26     src/cmspack.c
27     src/cmspcs.c
28     src/cmsplugin.c
29     src/cmsps2.c
30     src/cmssamp.c
31     src/cmssm.c
32     src/cmstypes.c
33     src/cmsvirt.c
34     src/cmswtpnt.c
35     src/cmsxform.c
36     src/lcms2_internal.h
37 )
38
39 add_library(${PROJECT_NAME} STATIC ${HEADERS} ${SOURCES})
40
41 set_target_properties(${PROJECT_NAME} PROPERTIES
42         LIBRARY_OUTPUT_NAME "${PROJECT_NAME}"
43         PUBLIC_HEADER           "${HEADERS}"
44 )
45
46 install(TARGETS                 ${PROJECT_NAME}
47                 RUNTIME         DESTINATION             bin
48         LIBRARY         DESTINATION     lib
49         ARCHIVE         DESTINATION     lib
50         PUBLIC_HEADER   DESTINATION     include
51 )