Skip to content

Commit

Permalink
Let translations be generated also if configured twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Vollstrecker committed Apr 25, 2021
1 parent 059e32e commit 853a197
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ endif()
add_subdirectory (docs)
add_subdirectory (src)

if (ENABLE_NLS)
add_subdirectory (po)
endif()

if (BUILD_TESTING)
enable_testing()
add_subdirectory (unittests)
Expand Down
1 change: 0 additions & 1 deletion cmake/nls.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ if (NOT YYENABLE_NLS)
if (ENABLE_NLS)
message (STATUS "Everything is fine. aMule can be localized")
set (YYENABLE_NLS TRUE CACHE INTERNAL "For parser, php-parser and to not recheck for nls-support" FORCE)
add_subdirectory (po)
else()
message (STATUS "You need to install GNU gettext/gettext-tools to compile aMule with i18n support.")
endif()
Expand Down

0 comments on commit 853a197

Please sign in to comment.