mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue