Fix the Cmake GCC identifier

GCC is 'GNU', not 'GCC'.
This commit is contained in:
Andy Gocke 2015-11-03 10:56:33 -08:00
parent bf0b0c93cb
commit a5a19be253

View file

@ -28,7 +28,7 @@ endif()
add_executable(corehost ${SOURCES}) add_executable(corehost ${SOURCES})
# Older CMake doesn't support CMAKE_CXX_STANDARD and GCC/Clang need a switch to enable C++ 11 # Older CMake doesn't support CMAKE_CXX_STANDARD and GCC/Clang need a switch to enable C++ 11
if(${CMAKE_CXX_COMPILER_ID} MATCHES "(Clang|GCC)") if(${CMAKE_CXX_COMPILER_ID} MATCHES "(Clang|GNU)")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif() endif()