I'm so confused part 2

This commit is contained in:
Andrew Cassidy 2021-03-19 14:24:29 -07:00
parent 862500cec3
commit d39679adaf
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ jobs:
cc: "clang" cc: "clang"
cxx: "clang++" cxx: "clang++"
- os: Ubuntu-20.04 - os: Ubuntu-20.04
cc: "clang++-11" cc: "clang-11"
cxx: "clang++-11" cxx: "clang++-11"
- os: Ubuntu-20.04 - os: Ubuntu-20.04
cc: "gcc-10" cc: "gcc-10"

View File

@ -66,7 +66,7 @@ set_project_warnings(test_quicktex)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
if (CMAKE_CXX_COMPILER_ID MATCHES ".*Clang") if (CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -stdlib=libc++ -fsanitize=undefined") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -stdlib=libc++ -fsanitize=undefined")
set(PROJECT_WARNINGS ${CLANG_WARNINGS}) set(PROJECT_WARNINGS ${CLANG_WARNINGS})