Skip to content

Commit

Permalink
fix: dealing with unknown compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
saturneric committed Jul 30, 2024
1 parent 3dd7e0f commit 16a8681
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 16a8681

Please sign in to comment.