summaryrefslogtreecommitdiffstats
path: root/find-package-python.patch
blob: a88eb02d709a094502d22e1f282a62537c3e187f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- swift/CMakeLists.txt.orig	2018-07-10 16:02:46.842209118 -0500
+++ swift/CMakeLists.txt	2018-07-10 16:03:41.095206340 -0500
@@ -867,7 +867,7 @@
   endif()
 endif()
 
-find_package(PythonInterp REQUIRED)
+find_package (Python2 COMPONENTS Interpreter Development)
 
 #
 # Find optional dependencies.