kde-l10n/pl/CMakeLists.txt
Ivailo Monev b3c3cc5437 generic: use the new kde4_optional_add_subdirectory() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-01 18:26:09 +03:00

18 lines
473 B
CMake

project(kde-i18n-pl)
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(KDE4 4.21.0 REQUIRED)
find_package(Gettext REQUIRED)
include(KDE4Defaults)
if(NOT GETTEXT_MSGMERGE_EXECUTABLE)
message(FATAL_ERROR "Please install the msgmerge binary")
elseif(NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Please install the msgfmt binary")
endif()
endif()
set(CURRENT_LANG pl)
add_subdirectory( messages )