mirror of
				https://github.com/Tencent/rapidjson.git
				synced 2025-10-30 05:29:44 +01:00 
			
		
		
		
	Try to fix cmake CMP0054 warning
This commit is contained in:
		| @@ -1,4 +1,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) | ||||
|  | ||||
| PROJECT(RapidJSON CXX) | ||||
|   | ||||
| @@ -1,5 +1,9 @@ | ||||
| cmake_minimum_required(VERSION 2.8) | ||||
|  | ||||
| if(POLICY CMP0054) | ||||
|   cmake_policy(SET CMP0054 NEW) | ||||
| endif() | ||||
|  | ||||
| set(EXAMPLES | ||||
|     capitalize | ||||
|     condense | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Milo Yip
					Milo Yip