kde-extraapps/thumbnailers/CMakeLists.txt
Ivailo Monev ea52f6e519 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 12:26:19 +00:00

25 lines
697 B
CMake

project(kdegraphics-thumbnailers)
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
find_package(KDE4 4.18.0 REQUIRED)
include(KDE4Defaults)
include_directories(${KDE4_INCLUDES})
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
endif()
macro_optional_find_package(GettextPO)
set_package_properties(GettextPO PROPERTIES
DESCRIPTION "A library for processing PO files"
URL "www.gnu.org/software/gettext"
PURPOSE "Required to build the PO thumbnailer"
)
macro_optional_add_subdirectory(audio)
macro_optional_add_subdirectory(ps)
macro_optional_add_subdirectory(raw)
if(GETTEXTPO_FOUND)
macro_optional_add_subdirectory(po)
endif(GETTEXTPO_FOUND)