Fixed bad code

This commit is contained in:
Alexey Milovidov 2020-02-22 22:47:32 +03:00
parent 3098fbbdc8
commit d1deba0f78
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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>