mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Minor: Move languages into PROJECT statement
This commit is contained in:
parent
0795b8cdb1
commit
fc08b914ca
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user