Merge pull request #345 from afh/pull/cmake_warning
Set CMake policy CMP0042
This commit is contained in:
commit
8e79b3c7c7
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue