summaryrefslogtreecommitdiffstats
path: root/cmake/lang_cfg.cmake
blob: c57d3ed81dee177209d734459d3b6b905e707a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
if(${CMAKE_ARGC} GREATER 1)
	if ("${CMAKE_ARGV3}" STREQUAL "ENONLY")
		message("#define ENGLISH_ONLY")
	else()
		math(EXPR UPTO ${CMAKE_ARGC}-1)
		foreach(i RANGE 3 ${UPTO})
			message("#define LANG_${CMAKE_ARGV${i}}")
		endforeach()
	endif()
endif()