Do not put "Clang" in the Darwin build bundle name.

This commit is contained in:
Robin Mills 2018-11-29 20:50:28 +00:00 committed by Luis Díaz Más
parent 2ba7866f22
commit d8a15e1d13

View File

@ -46,8 +46,10 @@ else()
endif()
set (CC "") # Compiler
if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
if ( NOT APPLE )
if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
set (CC Clang)
endif()
endif()
set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${PACKDIR}${BS}${CC}${LT}${BT})