blob: b50f50e7017f4c258936802de0bb80e9b5a8fe71 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From 918cd8764a845a9d25918a444fbaa5070d2be609 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Fri, 21 Aug 2015 16:38:05 +0300
4Subject: [PATCH] Remove cmake check for Perl
5
6We set "CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY" in cmake bbclass to
7make sure cmake does not find host programs. In this case we actually
8are fine with host perl: remove the check.
9
10Upstream-Status: Inappropriate [workaround]
11
12Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
13---
14 CMakeLists.txt | 3 +--
15 1 file changed, 1 insertion(+), 2 deletions(-)
16
Brad Bishop316dfdd2018-06-25 12:45:53 -040017Index: libical-2.0.0/CMakeLists.txt
18===================================================================
19--- libical-2.0.0.orig/CMakeLists.txt
20+++ libical-2.0.0/CMakeLists.txt
21@@ -116,8 +116,7 @@ if(SHARED_ONLY)
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022 set(LIBRARY_TYPE SHARED)
23 endif()
24
25-# must have Perl to create the derived stuff
26-find_package(Perl REQUIRED)
27+set(PERL_EXECUTABLE perl)
28
Brad Bishop316dfdd2018-06-25 12:45:53 -040029 # Ensure finding 64bit libs when using 64-bit compilers
30 if(CMAKE_CL_64)