fixed issues with building translation via cmake
commit3effecd
added an "if" block in CMakeLists with a variable that does not exist ("NLS"). This breaks running translation updates for every cmake user. Changed the variable to the existing "ENABLE_NLS". @Pentarctagon I don't know if the travis script has to be adjusted as well. Please test. (cherry-picked from commit64fe3988d8
)
This commit is contained in:
parent
131019c18b
commit
f8df22f7d9
1 changed files with 2 additions and 2 deletions
|
@ -547,11 +547,11 @@ if(ENABLE_POT_UPDATE_TARGET)
|
|||
endif(ENABLE_POT_UPDATE_TARGET)
|
||||
|
||||
# get languages
|
||||
if(NLS)
|
||||
if(ENABLE_NLS)
|
||||
file(READ po/LINGUAS LINGUAS)
|
||||
string(REPLACE "\n" "" LINGUAS ${LINGUAS})
|
||||
separate_arguments(LINGUAS)
|
||||
endif(NLS)
|
||||
endif(ENABLE_NLS)
|
||||
|
||||
#
|
||||
# Include subdirectories
|
||||
|
|
Loading…
Add table
Reference in a new issue