${ConfigIncludePath} --> ${CONFIG_INCLUDE_PATH}

This commit is contained in:
Robert Schulze 2022-09-28 08:28:47 +00:00
parent 0c095b30b2
commit 06507c40de
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
4 changed files with 5 additions and 5 deletions

View File

@ -567,8 +567,8 @@ function (add_native_target)
set_property (GLOBAL APPEND PROPERTY NATIVE_BUILD_TARGETS ${ARGV})
endfunction (add_native_target)
set(ConfigIncludePath ${CMAKE_CURRENT_BINARY_DIR}/includes/configs CACHE INTERNAL "Path to generated configuration files.")
include_directories(${ConfigIncludePath})
set(CONFIG_INCLUDE_PATH ${CMAKE_CURRENT_BINARY_DIR}/includes/configs CACHE INTERNAL "Path to generated configuration files.")
include_directories(${CONFIG_INCLUDE_PATH})
# Add as many warnings as possible for our own code.
include (cmake/warnings.cmake)

View File

@ -194,7 +194,7 @@ else()
message(STATUS "ClickHouse su: OFF")
endif()
configure_file (config_tools.h.in ${ConfigIncludePath}/config_tools.h)
configure_file (config_tools.h.in ${CONFIG_INCLUDE_PATH}/config_tools.h)
macro(clickhouse_target_link_split_lib target name)
if(NOT CLICKHOUSE_ONE_SHARED)

View File

@ -1,2 +1,2 @@
include(configure_config.cmake)
configure_file(config_formats.h.in ${ConfigIncludePath}/config_formats.h)
configure_file(config_formats.h.in ${CONFIG_INCLUDE_PATH}/config_formats.h)

View File

@ -1,5 +1,5 @@
include(configure_config.cmake)
configure_file(config_functions.h.in ${ConfigIncludePath}/config_functions.h)
configure_file(config_functions.h.in ${CONFIG_INCLUDE_PATH}/config_functions.h)
add_subdirectory(divide)