Commit bb91506d authored by Max Lyon's avatar Max Lyon

also check CMAKE_CXX_COMPILER_ID for clang in CGAL finder

parent cdcbbcc4
Pipeline #3778 passed with stage
in 6 minutes and 31 seconds
......@@ -41,9 +41,11 @@ ENDIF( NOT APPLE )
MARK_AS_ADVANCED(CGAL_INCLUDE_DIR)
if ("${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}" MATCHES ".*clang.*")
SET(CXX_IS_CLANG true)
SET(CXX_IS_CLANG true)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "[cC][lL][aA][nN][gG]")
SET(CXX_IS_CLANG true)
else()
SET(CXX_IS_CLANG false)
SET(CXX_IS_CLANG false)
endif()
# Copy the results to the output variables.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment