Merge pull request #345 from afh/pull/cmake_warning

Set CMake policy CMP0042
This commit is contained in:
John Wiegley 2014-12-30 12:49:00 -06:00
commit 8e79b3c7c7

View file

@ -1,4 +1,8 @@
cmake_minimum_required(VERSION 2.8.5)
if(POLICY CMP0042)
# CMP0042 is only known to CMake 3.0 and above
cmake_policy(SET CMP0042 OLD)
endif(POLICY CMP0042)
PROJECT(ledger)