Clean up the CMake files (and a couple of other bits)

src/imageformats/CMakeLists.txt is now much clearer and more consistent.

Also, removed an unnecessary/unimplemented method from exr.cpp.

REVIEW: 115120
This commit is contained in:
Alex Merry
2014-01-19 12:14:41 +00:00
parent cd4a2de0c1
commit 0ee3ffb368
7 changed files with 108 additions and 139 deletions

View File

@ -4,7 +4,6 @@ project(KImageFormats)
find_package(ECM 0.0.9 REQUIRED NO_MODULE)
# Add our own CMake dir for FindOpenEXR.cmake
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
include(KDEInstallDirs)