added "new" behaviour for Policy CMP0077 which allows to control the build options by variables if lib is used by FetchContent of a super project
This commit is contained in:
parent
d8daead33e
commit
20f824e8e8
@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
cmake_minimum_required(VERSION 3.1.3)
|
cmake_minimum_required(VERSION 3.1.3)
|
||||||
|
|
||||||
|
if(POLICY CMP0077)
|
||||||
|
cmake_policy(SET CMP0077 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
project(expat
|
project(expat
|
||||||
VERSION
|
VERSION
|
||||||
2.2.9
|
2.2.9
|
||||||
|
Loading…
Reference in New Issue
Block a user