1
by Jonathan Riddell
Import upstream version 4.0.0 |
1 |
project(kde-i18n-ja) |
2 |
||
3 |
# Search KDE installation |
|
4 |
find_package(KDE4 REQUIRED) |
|
5 |
find_package(Gettext REQUIRED) |
|
6 |
include (KDE4Defaults) |
|
7 |
include(MacroOptionalAddSubdirectory) |
|
8 |
||
9 |
if (NOT GETTEXT_MSGMERGE_EXECUTABLE) |
|
10 |
MESSAGE(FATAL_ERROR "Please install the msgmerge binary") |
|
11 |
endif (NOT GETTEXT_MSGMERGE_EXECUTABLE) |
|
12 |
||
13 |
IF(NOT GETTEXT_MSGFMT_EXECUTABLE) |
|
14 |
MESSAGE(FATAL_ERROR "Please install the msgfmt binary") |
|
15 |
endif (NOT GETTEXT_MSGFMT_EXECUTABLE) |
|
16 |
||
17 |
set(CURRENT_LANG ja) |
|
18 |
||
19 |
macro_optional_add_subdirectory( messages ) |
|
20 |
macro_optional_add_subdirectory( docs ) |
|
21 |
macro_optional_add_subdirectory( scripts ) |