From 16a86815d94548a147990e7903cc32e8fd1f1cff Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 30 Jul 2024 21:13:32 +0200 Subject: fix: dealing with unknown compiler --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 795dd522..8f6bbd58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,6 +198,9 @@ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # using Visual Studio C++ message(FATAL_ERROR "MSVC is not supported.") +else() + # using a unknown compiler + message(FATAL_ERROR "This Unknown Compiler is not supported.") endif() # Using Standard C++-17 (Consider compatibility) -- cgit v1.2.3