feat(CMake): crash on non-MSVC compilers (#2819)
This commit is contained in:
parent
a10f7ef53e
commit
10fc7a5e13
@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
project(YimMenu CXX ASM_MASM)
|
||||
|
||||
if (NOT MSVC)
|
||||
message(FATAL_ERROR "Unsupported compiler used '${CMAKE_CXX_COMPILER_ID}', YimMenu only supports MSVC.")
|
||||
endif()
|
||||
|
||||
set(SRC_DIR "${PROJECT_SOURCE_DIR}/src")
|
||||
|
||||
# Git commit embed
|
||||
|
Reference in New Issue
Block a user