Merge pull request #59 from Pedro-Beirao/master

Check for AppleClang
This commit is contained in:
ptitSeb 2022-08-26 23:24:41 +02:00 committed by GitHub
commit 01c14d2ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ endif()
## ** RAKE! clean up for SeriousEngine use. Also **
## ** RAKE! need to make this pandora safe. **
# compiler specific flags
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang" OR CMAKE_C_COMPILER_ID STREQUAL "AppleClang")
# This section and the like are for flags/defines that can be shared between
# c and c++ compile options
add_compile_options(-Wall)