Blame cmake/lang_cfg.cmake

Packit Service 50c9f2
if(${CMAKE_ARGC} GREATER 2)
Packit Service 50c9f2
	if ("${CMAKE_ARGV4}" STREQUAL "ENONLY")
Packit Service 50c9f2
		file(APPEND ${CMAKE_ARGV3} " #define ENGLISH_ONLY\n")
Packit Service 50c9f2
	else()
Packit Service 50c9f2
		math(EXPR UPTO ${CMAKE_ARGC}-1)
Packit Service 50c9f2
		foreach(i RANGE 4 ${UPTO})
Packit Service 50c9f2
			file(APPEND ${CMAKE_ARGV3} " #define LANG_${CMAKE_ARGV${i}}\n")
Packit Service 50c9f2
		endforeach()
Packit Service 50c9f2
	endif()
Packit Service 50c9f2
endif()
Packit Service 50c9f2