--- 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.