Skip to content

Commit

Permalink
set c++17 compiler path
Browse files Browse the repository at this point in the history
  • Loading branch information
pd3v committed Feb 2, 2024
1 parent b7a63a9 commit 92ba9d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ cmake_minimum_required(VERSION 3.19.2)

set(CMAKE_CXX_STANDARD 17)
if(APPLE)
set(CMAKE_C_COMPILER /usr/bin/clang)
set(CMAKE_CXX_COMPILER /usr/bin/clang++)
#set(CMAKE_C_COMPILER /usr/bin/clang)
#set(CMAKE_CXX_COMPILER /usr/bin/clang++)
set(CMAKE_C_COMPILER /opt/local/libexec/llvm-10/bin/clang)
set(CMAKE_CXX_COMPILER /opt/local/libexec/llvm-10/bin/clang++)
endif(APPLE)

if(LINUX)
Expand Down

0 comments on commit 92ba9d3

Please sign in to comment.