Try to fix cmake CMP0054 warning

This commit is contained in:
Milo Yip
2016-04-21 23:12:31 +08:00
parent 0fe08c222f
commit aae2fbfc99
2 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
cmake_minimum_required(VERSION 2.8)
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
set(EXAMPLES
capitalize
condense