File tree 3 files changed +7
-11
lines changed
3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -396,15 +396,12 @@ endif(USE_XMLLINT)
396
396
message (STATUS "All external programs found" )
397
397
398
398
# The path can be modified by setting CMAKE_INSTALL_LOCALEDIR
399
- if (USE_NLS)
400
- find_package (Gettext)
401
- if (GETTEXT_MSGFMT_EXECUTABLE)
402
- message (STATUS "Found msgfmt to convert .po file. Translation enabled" )
403
- add_subdirectory (po)
404
- else ()
405
- message (STATUS "Cannot find msgfmt to convert .po file. Translation won't be enabled" )
406
- endif ()
407
- endif (USE_NLS)
399
+ find_package (Gettext REQUIRED)
400
+ if (GETTEXT_MSGFMT_EXECUTABLE)
401
+ add_subdirectory (po)
402
+ else ()
403
+ message (FATAL_ERROR "ERROR: Cannot find msgfmt to convert .po file" )
404
+ endif ()
408
405
409
406
# needed to generate file "preferences_gen.h" accordingly
410
407
if (USE_OPENCL)
Original file line number Diff line number Diff line change 1
1
option (USE_CAMERA_SUPPORT "Detect and use camera support if available." ON )
2
- option (USE_NLS "Build Native Language Support (using gettext)" ON )
3
2
option (USE_COLORD "Enable colord support" ON )
4
3
option (USE_MAP "Build Map View parts" ON )
5
4
option (USE_LUA "Build lua scripting support" ON )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ CMAKE_OPTIONS_FROM_CMDLINE=""
35
35
36
36
PRINT_HELP=0
37
37
38
- FEATURES=" CAMERA COLORD GRAPHICSMAGICK IMAGEMAGICK JXL KWALLET LIBSECRET LUA MAC_INTEGRATION MAP NLS OPENCL OPENEXR OPENMP UNITY WEBP"
38
+ FEATURES=" CAMERA COLORD GRAPHICSMAGICK IMAGEMAGICK JXL KWALLET LIBSECRET LUA MAC_INTEGRATION MAP OPENCL OPENEXR OPENMP UNITY WEBP"
39
39
40
40
# prepare a lowercase version with a space before and after
41
41
# it's very important for parse_feature, has no impact in for loop expansions
You can’t perform that action at this time.
0 commit comments