mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-22 12:00:13 -04:00
Call cmake_minimum_required() before project()
This fixes the following warning: ``` CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. ``` This is a small part of upstream OpenMW commit a40ec4edd6459e54003d6df3f1b05f2c4241f028.
This commit is contained in:
parent
65c5ed5666
commit
5ebc69036a
@ -1,5 +1,7 @@
|
||||
project(OpenMW)
|
||||
cmake_minimum_required(VERSION 3.1.0)
|
||||
|
||||
project(OpenMW)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user