Browse Source

Add AppleClang support to library

Patrick-Christopher Mattulat 11 months ago
parent
commit
0290e210d9
2 changed files with 3 additions and 2 deletions
  1. 2 1
      CMakeLists.txt
  2. 1 1
      README.md

+ 2 - 1
CMakeLists.txt

@@ -72,7 +72,8 @@ if(${BUILD_LS_MATH_WITH_SUPPORTED_COMPILER})
 
     if (${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC OR
             ${CMAKE_CXX_COMPILER_ID} STREQUAL GNU OR
-            ${CMAKE_CXX_COMPILER_ID} STREQUAL Clang)
+            ${CMAKE_CXX_COMPILER_ID} STREQUAL ClangOR OR
+            ${CMAKE_CXX_COMPILER_ID} STREQUAL AppleClang)
         message("${PROJECT_NAME}: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} is supported...")
     else()
         message("${PROJECT_NAME}: [Error] ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} is not supported... terminated!")

+ 1 - 1
README.md

@@ -15,7 +15,7 @@ This module provides vector functionalities of a cartesian coordinate system.
 
 #### Features ####
 
-- none 
+- AppleClang compiler is now officially supported
 
 #### Improvements ####