Browse Source
CMakeLists: Set CMP0075 to new, if CMake >= 3.11 is used during build.
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
pull/510/head
Björn Esser
6 years ago
No known key found for this signature in database
GPG Key ID: F52E98007594C21D
1 changed files with
4 additions and
0 deletions
-
CMakeLists.txt
|
|
|
@@ -19,6 +19,10 @@ if(POLICY CMP0054) |
|
|
|
cmake_policy(SET CMP0054 NEW) |
|
|
|
endif() |
|
|
|
|
|
|
|
if(POLICY CMP0075) |
|
|
|
cmake_policy(SET CMP0075 NEW) |
|
|
|
endif() |
|
|
|
|
|
|
|
include(CTest) |
|
|
|
|
|
|
|
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND |
|
|
|
|