summaryrefslogtreecommitdiffstats
path: root/src/libs/dimg/CMakeLists.txt
blob: 5cfb59bbebf45166d035a98a5e0ccde258fceb46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}/filters
  ${CMAKE_CURRENT_SOURCE_DIR}/loaders
)


##### subfolders

add_subdirectory( loaders )
add_subdirectory( filters )


##### dimg library (static)

tde_add_library( dimg STATIC_PIC
  SOURCES dimg.cpp dimgscale.cpp dcolor.cpp dcolorcomposer.cpp ddebug.cpp
  LINK
    histogram-static levels-static curves-static whitebalance-static
    dimgloaders-static dimgfilters-static dmetadata-static
    tdecore-shared ${KDCRAW_LIBRARIES} ${LCMS_LIBRARIES}
)


##### other files

install(
  FILES dimg.h dcolor.h dcolorpixelaccess.h dcolorcomposer.h dcolorblend.h ddebug.h
  DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
)