From d92b44dcba3b3eb78f8b703d8ef3da970316d3b5 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 20 Oct 2019 16:30:33 +0200 Subject: [PATCH] Correct GCC detection --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5640c47fa..75b7f1c4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -321,7 +321,7 @@ foreach(target devilution devilutionx) endif() endforeach(target devilution devilutionx) -if(DIST AND CMAKE_CXX_COMPILER_ID MATCHES "GCC") +if(DIST AND CMAKE_CXX_COMPILER_ID MATCHES "GNU") target_link_libraries(devilutionx PUBLIC -static-libgcc -static-libstdc++) endif()