Add the proper SSE options to Clang too

This commit is contained in:
Erik Hofman
2016-12-16 11:05:03 +01:00
parent fe73247b82
commit 175eddd1fa
2 changed files with 8 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ ELSEIF(CMAKE_SYSTEM_PROCESSOR MATCHES mips)
SET(MIPS 1)
ENDIF()
IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
# using Clang
SET(CLANG 1)
ELSEIF ("${CMAKE_C_COMPILER_ID}" STREQUAL "TinyCC")