mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fixed build
This commit is contained in:
parent
37b5e49508
commit
e81d8e8b02
@ -365,7 +365,7 @@ if (ENABLE_TESTS)
|
|||||||
include (cmake/find_gtest.cmake)
|
include (cmake/find_gtest.cmake)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (USE_INTERNAL_LIBCXX_LIBRARY)
|
if (USE_LIBCXX AND USE_INTERNAL_LIBCXX_LIBRARY)
|
||||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdinc++ -isystem ${LIBCXX_INCLUDE_DIR} -isystem ${LIBCXXABI_INCLUDE_DIR}")
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdinc++ -isystem ${LIBCXX_INCLUDE_DIR} -isystem ${LIBCXXABI_INCLUDE_DIR}")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
@ -398,7 +398,7 @@ if (DEFAULT_LIBS)
|
|||||||
if (GLIBC_COMPATIBILITY)
|
if (GLIBC_COMPATIBILITY)
|
||||||
add_dependencies(${target_name} glibc-compatibility)
|
add_dependencies(${target_name} glibc-compatibility)
|
||||||
endif ()
|
endif ()
|
||||||
if (USE_INTERNAL_LIBCXX_LIBRARY)
|
if (USE_LIBCXX AND USE_INTERNAL_LIBCXX_LIBRARY)
|
||||||
add_dependencies(${target_name} cxx_static cxxabi_static)
|
add_dependencies(${target_name} cxx_static cxxabi_static)
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
4
contrib/CMakeLists.txt
vendored
4
contrib/CMakeLists.txt
vendored
@ -270,7 +270,7 @@ if (USE_INTERNAL_LLVM_LIBRARY)
|
|||||||
add_subdirectory (llvm/llvm)
|
add_subdirectory (llvm/llvm)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (USE_INTERNAL_LIBCXXABI_LIBRARY)
|
if (USE_LIBCXX AND USE_INTERNAL_LIBCXXABI_LIBRARY)
|
||||||
set (LIBCXXABI_USE_COMPILER_RT 1 CACHE INTERNAL "")
|
set (LIBCXXABI_USE_COMPILER_RT 1 CACHE INTERNAL "")
|
||||||
set (PACKAGE_NAME libcxxabi)
|
set (PACKAGE_NAME libcxxabi)
|
||||||
set (PACKAGE_VERSION 8.0.0svn)
|
set (PACKAGE_VERSION 8.0.0svn)
|
||||||
@ -282,7 +282,7 @@ if (USE_INTERNAL_LIBCXXABI_LIBRARY)
|
|||||||
add_subdirectory(libcxxabi)
|
add_subdirectory(libcxxabi)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (USE_INTERNAL_LIBCXX_LIBRARY)
|
if (USE_LIBCXX AND USE_INTERNAL_LIBCXX_LIBRARY)
|
||||||
set (LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libcxx")
|
set (LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libcxx")
|
||||||
set (LIBCXX_USE_COMPILER_RT 1 CACHE INTERNAL "")
|
set (LIBCXX_USE_COMPILER_RT 1 CACHE INTERNAL "")
|
||||||
set (LIBCXX_CXX_ABI "libcxxabi" CACHE INTERNAL "")
|
set (LIBCXX_CXX_ABI "libcxxabi" CACHE INTERNAL "")
|
||||||
|
@ -9,7 +9,7 @@ add_executable (move_field move_field.cpp)
|
|||||||
target_link_libraries (move_field PRIVATE clickhouse_common_io)
|
target_link_libraries (move_field PRIVATE clickhouse_common_io)
|
||||||
|
|
||||||
add_executable (rvo_test rvo_test.cpp)
|
add_executable (rvo_test rvo_test.cpp)
|
||||||
target_link_libraries (rvo_test PRIVATE Threads::Threads)
|
target_link_libraries (rvo_test PRIVATE Threads::Threads ${DEFAULT_LIBS})
|
||||||
|
|
||||||
add_executable (string_ref_hash string_ref_hash.cpp)
|
add_executable (string_ref_hash string_ref_hash.cpp)
|
||||||
target_link_libraries (string_ref_hash PRIVATE clickhouse_common_io)
|
target_link_libraries (string_ref_hash PRIVATE clickhouse_common_io)
|
||||||
|
Loading…
Reference in New Issue
Block a user