diff options
author | albert-github <albert.tests@gmail.com> | 2017-09-30 09:26:18 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2017-09-30 09:26:18 (GMT) |
commit | a4b6f59e0c99457ba8f4f71782e51d50b7a1057f (patch) | |
tree | 615fd60ca222d800b3b0bd82e5caec5188dc5179 /cmake/lang_cfg.cmake | |
parent | 96e38d0e4909abd8da912c85d1c60b12abb49fa9 (diff) | |
download | Doxygen-a4b6f59e0c99457ba8f4f71782e51d50b7a1057f.zip Doxygen-a4b6f59e0c99457ba8f4f71782e51d50b7a1057f.tar.gz Doxygen-a4b6f59e0c99457ba8f4f71782e51d50b7a1057f.tar.bz2 |
build: fix the way lang_cfg.h is generated (regression to #574)
All language defines were written onto one line and thus only the first language (normally AM, Armenian, would be active.
Added \n as MESSAGE apparently automatically added it and APPEND doesn't.
Diffstat (limited to 'cmake/lang_cfg.cmake')
-rw-r--r-- | cmake/lang_cfg.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/lang_cfg.cmake b/cmake/lang_cfg.cmake index 86c2d9a..0a87320 100644 --- a/cmake/lang_cfg.cmake +++ b/cmake/lang_cfg.cmake @@ -1,10 +1,10 @@ if(${CMAKE_ARGC} GREATER 2) if ("${CMAKE_ARGV4}" STREQUAL "ENONLY") - file(APPEND ${CMAKE_ARGV3} " #define ENGLISH_ONLY") + file(APPEND ${CMAKE_ARGV3} " #define ENGLISH_ONLY\n") else() math(EXPR UPTO ${CMAKE_ARGC}-1) foreach(i RANGE 4 ${UPTO}) - file(APPEND ${CMAKE_ARGV3} " #define LANG_${CMAKE_ARGV${i}}") + file(APPEND ${CMAKE_ARGV3} " #define LANG_${CMAKE_ARGV${i}}\n") endforeach() endif() endif() |