Allow for using unexpected compilers

This commit is contained in:
Chris Thrasher authored and Lukas Dürrenberger committed 2024-02-19 23:30:30 +01:00
1 parent 00303b7165
commit 3446239371
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX)
execute_process(COMMAND "${CMAKE_CXX_COMPILER}" "--version" OUTPUT_VARIABLE GCC_COMPILER_VERSION)
string(REGEX MATCHALL ".*(tdm[64]*-[1-9]).*" SFML_COMPILER_GCC_TDM "${GCC_COMPILER_VERSION}")
else()
message(FATAL_ERROR "Unsupported compiler")
message(WARNING "Unsupported compiler")
return()
endif()