Set cmake-policy CMP0048 to NEW
authorTim Diekmann <t.diekmann.3dv@gmail.com>
Tue, 10 Oct 2017 12:23:42 +0000 (14:23 +0200)
committerTim Diekmann <t.diekmann.3dv@gmail.com>
Tue, 10 Oct 2017 12:23:42 +0000 (14:23 +0200)
CMakeLists.txt

index fc866c0..d53f01b 100644 (file)
@@ -13,6 +13,9 @@
 # limitations under the License.
 
 cmake_minimum_required(VERSION 2.8.12)
+if (POLICY CMP0048)
+  cmake_policy(SET CMP0048 NEW)
+endif()
 if (POLICY CMP0054)
   # Avoid dereferencing variables or interpret keywords that have been
   # quoted or bracketed.