From e984f217a5d761816cd92f5eada7081c319ab07b Mon Sep 17 00:00:00 2001 From: Pere Mato Date: Mon, 7 Nov 2016 17:27:37 +0100 Subject: [PATCH] Fix Binary package name for Apple Clang --- cmake/modules/RootCPack.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/RootCPack.cmake b/cmake/modules/RootCPack.cmake index 2582e7d618411..e1fa79a87222d 100644 --- a/cmake/modules/RootCPack.cmake +++ b/cmake/modules/RootCPack.cmake @@ -54,7 +54,7 @@ if(MSVC) else() if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") set(COMPILER_NAME_VERSION "-gcc${CXX_MAJOR}.${CXX_MINOR}") - elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") + elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") set(COMPILER_NAME_VERSION "-clang${CXX_MAJOR}${CXX_MINOR}") endif() endif()