Skip to content

Commit

Permalink
Change compiler name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Oct 3, 2023
1 parent 98ab94d commit 6f6eae5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/preprocess_h2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ macro(check_and_set_compiler_flag FLAG)
endmacro()

macro(fast_downward_set_compiler_flags)
# Note: on CMake >= 3.0 the compiler ID of Apple-provided clang is AppleClang.
# If we change the required CMake version from 2.8.3 to 3.0 or greater,
# we have to fix this.
if(CMAKE_COMPILER_IS_GNUCXX OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
if(CMAKE_COMPILER_IS_GNUCXX OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang")
check_and_set_compiler_flag( "-std=c++20" )

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
Expand Down

0 comments on commit 6f6eae5

Please sign in to comment.