mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
I'm so confused part 2
This commit is contained in:
parent
862500cec3
commit
d39679adaf
2
.github/workflows/cmake.yml
vendored
2
.github/workflows/cmake.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
cc: "clang"
|
||||
cxx: "clang++"
|
||||
- os: Ubuntu-20.04
|
||||
cc: "clang++-11"
|
||||
cc: "clang-11"
|
||||
cxx: "clang++-11"
|
||||
- os: Ubuntu-20.04
|
||||
cc: "gcc-10"
|
||||
|
@ -66,7 +66,7 @@ set_project_warnings(test_quicktex)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
|
||||
|
||||
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_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -stdlib=libc++ -fsanitize=undefined")
|
||||
set(PROJECT_WARNINGS ${CLANG_WARNINGS})
|
||||
|
Loading…
Reference in New Issue
Block a user