mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fixed bad code
This commit is contained in:
parent
3098fbbdc8
commit
d1deba0f78
@ -55,7 +55,7 @@ endif ()
|
|||||||
target_compile_options(cxx PUBLIC $<$<COMPILE_LANGUAGE:CXX>:-nostdinc++>)
|
target_compile_options(cxx PUBLIC $<$<COMPILE_LANGUAGE:CXX>:-nostdinc++>)
|
||||||
|
|
||||||
# Third party library may have substandard code.
|
# Third party library may have substandard code.
|
||||||
target_compile_options(cxx PUBLIC -w)
|
target_compile_options(cxx PRIVATE -w)
|
||||||
|
|
||||||
target_link_libraries(cxx PUBLIC cxxabi)
|
target_link_libraries(cxx PUBLIC cxxabi)
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ ${LIBCXXABI_SOURCE_DIR}/src/stdlib_new_delete.cpp
|
|||||||
add_library(cxxabi ${SRCS})
|
add_library(cxxabi ${SRCS})
|
||||||
|
|
||||||
# Third party library may have substandard code.
|
# Third party library may have substandard code.
|
||||||
target_compile_options(cxx PUBLIC -w)
|
target_compile_options(cxx PRIVATE -w)
|
||||||
|
|
||||||
target_include_directories(cxxabi SYSTEM BEFORE
|
target_include_directories(cxxabi SYSTEM BEFORE
|
||||||
PUBLIC $<BUILD_INTERFACE:${LIBCXXABI_SOURCE_DIR}/include>
|
PUBLIC $<BUILD_INTERFACE:${LIBCXXABI_SOURCE_DIR}/include>
|
||||||
|
Loading…
Reference in New Issue
Block a user