Merge pull request #143 from agocke/ChangeCMakeIdToGNU

Fix the Cmake GCC identifier
This commit is contained in:
Andy Gocke 2015-11-03 11:26:16 -08:00
commit b1d3ef4b75

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()