mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Error out if CMake is used on non-Windows.
This does not work (currently) and can result in weird issues in code editors that try to automatically run CMake if they see a CMakeLists file.
This commit is contained in:
parent
342f94ec22
commit
d91d707c6d
@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
|
||||
|
||||
project(InspIRCd CXX)
|
||||
|
||||
if(NOT WIN32)
|
||||
message(FATAL_ERROR "CMake can only be used on Windows!")
|
||||
endif()
|
||||
|
||||
set(CONFIG_DIR "conf" CACHE PATH "Configuration file path")
|
||||
set(MODULE_DIR "modules" CACHE PATH "Module path")
|
||||
set(DATA_DIR "data" CACHE PATH "Data path")
|
||||
|
Loading…
x
Reference in New Issue
Block a user