Fix warnings related to CMP0054

The LINUX variable is only available in 3.25+
This commit is contained in:
Sandy Carter
2023-01-06 15:52:00 -05:00
committed by Sandy
parent c85f396456
commit ef8234966e
2 changed files with 11 additions and 10 deletions

View File

@@ -8,8 +8,9 @@
# You should have received a copy of the CC0 Public Domain Dedication along with
# this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.1)
project(bgfx)
cmake_policy(SET CMP0054 NEW)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(CMAKE_CXX_STANDARD 14)