Minor: Move languages into PROJECT statement

This commit is contained in:
Robert Schulze 2022-05-10 10:44:28 +02:00
parent 0795b8cdb1
commit fc08b914ca
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -26,7 +26,7 @@ foreach(default_policy_var_name
set(${default_policy_var_name} NEW) set(${default_policy_var_name} NEW)
endforeach() endforeach()
project(ClickHouse) project(ClickHouse LANGUAGES C CXX ASM)
# If turned off: e.g. when ENABLE_FOO is ON, but FOO tool was not found, the CMake will continue. # If turned off: e.g. when ENABLE_FOO is ON, but FOO tool was not found, the CMake will continue.
option(FAIL_ON_UNSUPPORTED_OPTIONS_COMBINATION option(FAIL_ON_UNSUPPORTED_OPTIONS_COMBINATION
@ -39,8 +39,6 @@ else()
set(RECONFIGURE_MESSAGE_LEVEL WARNING) set(RECONFIGURE_MESSAGE_LEVEL WARNING)
endif() endif()
enable_language(C CXX ASM)
include (cmake/arch.cmake) include (cmake/arch.cmake)
include (cmake/target.cmake) include (cmake/target.cmake)
include (cmake/tools.cmake) include (cmake/tools.cmake)