diff options
author | saturneric <[email protected]> | 2024-07-30 19:13:32 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-30 19:13:32 +0000 |
commit | 16a86815d94548a147990e7903cc32e8fd1f1cff (patch) | |
tree | d7d6ac0da58ffbcf42ca4b6e7638dbc9826f58a1 | |
parent | fix: correct a mistake (diff) | |
download | GpgFrontend-16a86815d94548a147990e7903cc32e8fd1f1cff.tar.gz GpgFrontend-16a86815d94548a147990e7903cc32e8fd1f1cff.zip |
fix: dealing with unknown compiler
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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) |