Skip to content

Commit

Permalink
Set CMAKE_OBJCXX_FLAGS_INIT to the same value as CMAKE_CXX_FLAGS_INIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgen301 committed Sep 19, 2023
1 parent 4e684ec commit b351619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autobuild/clang16_mac.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ set(CMAKE_C_COMPILER "/usr/local/opt/llvm/bin/clang")
set(CMAKE_CXX_COMPILER "/usr/local/opt/llvm/bin/clang++")

set(CMAKE_C_FLAGS_INIT "-stdlib=libc++ -fexperimental-library -Wno-parentheses")
set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++ -fexperimental-library -Wno-parentheses")
set(CMAKE_CXX_FLAGS_INIT "${CMAKE_C_FLAGS_INIT}")
set(CMAKE_OBJCXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT}")

set(CMAKE_EXE_LINKER_FLAGS_INIT "-L/usr/local/opt/llvm/lib/c++")
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-L/usr/local/opt/llvm/lib/c++")

0 comments on commit b351619

Please sign in to comment.