From 15d7cf315fec3c7c5bd3a59203ad44fa56f9f5a4 Mon Sep 17 00:00:00 2001 From: PBeGood4 Date: Fri, 26 Aug 2022 19:31:15 +0100 Subject: [PATCH] Check for AppleClang --- Sources/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/CMakeLists.txt b/Sources/CMakeLists.txt index 65a01b6..72a25a5 100755 --- a/Sources/CMakeLists.txt +++ b/Sources/CMakeLists.txt @@ -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)