From 5f87a04111837763df935136d484663cc9409c05 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sat, 8 Jul 2023 16:24:41 -0600 Subject: [PATCH] Remove use of deprecated CMake variable --- cmake/Config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Config.cmake b/cmake/Config.cmake index cd10b98a1..58ee8ee8e 100644 --- a/cmake/Config.cmake +++ b/cmake/Config.cmake @@ -86,7 +86,7 @@ if(MSVC) endif() elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") set(SFML_COMPILER_CLANG 1) -elseif(CMAKE_COMPILER_IS_GNUCXX) +elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU") set(SFML_COMPILER_GCC 1) execute_process(COMMAND "${CMAKE_CXX_COMPILER}" "--version" OUTPUT_VARIABLE GCC_COMPILER_VERSION)