Fix compiler test for clang

Change-Id: I06e01d3422ec4aa8d0fb8f5d9a44e2a840531a87
This commit is contained in:
Matt Arsenault authored and Matthew Arsenault committed 2020-07-06 10:27:11 -04:00
1 parent f9f7508578
commit a430215067
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
(CMAKE_${COMPILER}_COMPILER_ID MATCHES "Clang"))
(CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
add_definitions(
# Enabling -Wextra or -pedantic will cause
# thousands of warnings. Keep things simple for now.