Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f408617c authored by Cyrille Berger's avatar Cyrille Berger

summer cleanup of the CMakeLists.txt:

* regroup commands in sections: required packages, optional packages, variables, selection of what is compilable (based on detection), subdirectories
* make it more consistant
* move the openctl test to krita/plugins/colorspaces

I tested it, it sounds to work, but if you have problems, tell me. And please, try to keep it clean :)

CCMAIL:koffice-devel@kde.org


svn path=/trunk/koffice/; revision=986018
parent 0fbdb1e7
This diff is collapsed.
# Look for OpenCTL (XXX: move this inside full_pigment? Or inside pigment?)
macro_optional_find_package(OpenCTL)
macro_log_feature(OPENCTL_FOUND "OpenCTL" "Free Color Transformation Language implementation" "http://www.openctl.org" FALSE "0.9.2" "Required for High Dynamic Range Color Spaces, YCbCr and LMS support")
if(OPENCTL_FOUND)
# add_subdirectory( lms_f32 )
# add_subdirectory( xyz_float_hdr.ctl )
# add_subdirectory( rgb_float_hdr.ctl )
# add_subdirectory( ycbcr )
add_subdirectory(ctlcs)
endif(OPENCTL_FOUND)
......
include_directories( ${KOTEXT_INCLUDES}
${BLITZ_INCLUDES}
${CMAKE_SOURCE_DIR}/libs/pigment/colorprofiles
${CMAKE_CURRENT_SOURCE_DIR}/flake
${CMAKE_CURRENT_SOURCE_DIR}/resources
${CMAKE_CURRENT_SOURCE_DIR}/widgets/resources
......
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
include_directories( ${PIGMENT_INCLUDES} )
include_directories( ${PIGMENT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/../colorspaces )
if(MSVC)
# avoid "cannot open file 'LIBC.lib'" error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment