| commit | 4b9c1ff9a8bb25a52559bba8e7e8e2482c012395 | [log] [tgz] |
|---|---|---|
| author | Pierre Ossman <ossman@cendio.se> | Mon Apr 04 13:17:38 2016 +0200 |
| committer | Pierre Ossman <ossman@cendio.se> | Mon Apr 04 13:17:38 2016 +0200 |
| tree | ece0ebb962205b3d3546e2c0040b73b9df5be0ce | |
| parent | 6dd28d4d2791e4be684a8729285b6b2a8806f28d [diff] |
Use cmake_policy() in a safe way cmake_policy() by itself raises the minimum requirement on CMake. We want it to be optional though, so add the necessary if() around it.