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} )