Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
342 B

diff -Naur VTK.orig/CMakeLists.txt VTK/CMakeLists.txt
--- VTK.orig/CMakeLists.txt 2011-08-24 15:37:07.000000000 +0200
+++ VTK/CMakeLists.txt 2013-12-23 23:45:39.298822656 +0100
@@ -1,4 +1,5 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
+CMAKE_POLICY(SET CMP0022 OLD)
FOREACH(policy CMP0012 CMP0013 CMP0014)
IF(POLICY ${policy})