Merge pull request #612 from miloyip/cmake_CMP0054
Try to fix cmake CMP0054 warning
This commit is contained in:
commit
e6a1bd91bc
@ -55,6 +55,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
* Fix a bug in schema minimum/maximum keywords for 64-bit integer (e7149d665941068ccf8c565e77495521331cf390)
|
* Fix a bug in schema minimum/maximum keywords for 64-bit integer (e7149d665941068ccf8c565e77495521331cf390)
|
||||||
* Fix a crash bug in regex (#605)
|
* Fix a crash bug in regex (#605)
|
||||||
* Fix schema "required" keyword cannot handle duplicated keys (#609)
|
* Fix schema "required" keyword cannot handle duplicated keys (#609)
|
||||||
|
* Fix cmake CMP0054 warning (#612)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* Clarify problematic JSON license (#392)
|
* Clarify problematic JSON license (#392)
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
|
SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
|
||||||
|
|
||||||
PROJECT(RapidJSON CXX)
|
PROJECT(RapidJSON CXX)
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
|
if(POLICY CMP0054)
|
||||||
|
cmake_policy(SET CMP0054 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(EXAMPLES
|
set(EXAMPLES
|
||||||
capitalize
|
capitalize
|
||||||
condense
|
condense
|
||||||
|
Loading…
x
Reference in New Issue
Block a user