We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c24dfbd commit a10351dCopy full SHA for a10351d
.github/workflows/cmake.yml
@@ -74,7 +74,7 @@ jobs:
74
- name: Install LLVM and Clang
75
uses: KyleMayes/install-llvm-action@v2
76
with:
77
- version: "16.0.6"
+ version: "16"
78
79
- name: Set Clang 16 as Default
80
if: matrix.os == 'ubuntu-22.04' && matrix.c_compiler == 'clang'
CMakeLists.txt
@@ -199,8 +199,7 @@ elseif(LINUX)
199
200
if (CMAKE_CXX_COMPILER MATCHES "clang")
201
message(STATUS "Detected Clang compiler: ${CMAKE_CXX_COMPILER}")
202
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -D_FILE_OFFSET_BITS=64")
203
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lc++abi")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
204
endif()
205
206
0 commit comments