mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 22:37:22 +08:00
feat(CMake): crash on non-MSVC compilers (#2819)
This commit is contained in:
parent
d75664ec3f
commit
cc930b6252
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user