mirror of
https://github.com/reactos/reactos.git
synced 2025-01-19 18:13:29 +08:00
[REACTOS] Warn if not using RosBE custom CMake
Better be explicit immediately, than fail later without a clue. Thanks to Yuntian Zhang for initial code, adapted by me. CORE-14607
This commit is contained in:
parent
12e8d7fe0e
commit
2ee150c374
@ -2,6 +2,10 @@
|
||||
cmake_minimum_required(VERSION 3.2.1)
|
||||
cmake_policy(VERSION 3.2.1)
|
||||
|
||||
if(NOT CMAKE_VERSION MATCHES "ReactOS")
|
||||
message(WARNING "Building with \"${CMAKE_COMMAND}\", which is not the custom CMake included in RosBE, might cause build issues...")
|
||||
endif()
|
||||
|
||||
# Don't escape preprocessor definition values added via add_definitions
|
||||
cmake_policy(SET CMP0005 OLD)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user