Skip to content
Snippets Groups Projects
Commit 68b5cf40 authored by Henry Fredrick Schreiner's avatar Henry Fredrick Schreiner Committed by Guilherme Amadio
Browse files

Working around MSVC 15 CMake bug

parent e4f503ab
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.1...3.11)
cmake_minimum_required(VERSION 3.1)
# Tested with and supporting policies up to the following CMake version.
# Not using ... syntax due to parser bug in MSVC's built-in CMake server mode.
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_VERSION})
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
else()
cmake_policy(VERSION 3.12)
endif()
include(FeatureSummary)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment