mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
32 lines
747 B
CMake
32 lines
747 B
CMake
project(kdegraphics-thumbnailers)
|
|
|
|
find_package(KDE4 4.14.3 REQUIRED)
|
|
include(KDE4Defaults)
|
|
include(MacroLibrary)
|
|
include(MacroOptionalAddSubdirectory)
|
|
|
|
add_definitions(
|
|
${QT_DEFINITIONS}
|
|
${KDE4_DEFINITIONS}
|
|
-DQT_USE_FAST_CONCATENATIO
|
|
-DQT_USE_FAST_OPERATOR_PLUS
|
|
)
|
|
include_directories(${KDE4_INCLUDES})
|
|
|
|
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)
|
|
|