Enable detection of non-Apple clang Clang features
Ups macOS cmake requirement to 3.3 and sets policy 25, to differentiate compiler features between AppleClang and plain ole' clang.
This commit is contained in:
parent
bd9592cb1f
commit
46e4dece2e
@ -1,5 +1,8 @@
|
||||
if(WIN32)
|
||||
cmake_minimum_required(VERSION 2.8.4)
|
||||
elseif(APPLE)
|
||||
cmake_minimum_required(VERSION 3.3)
|
||||
CMAKE_POLICY(SET CMP0025 NEW)
|
||||
else()
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user