From 61caa3a0c61fd4f2a049e9a14b5f4f74354dbb29 Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Thu, 18 Jul 2019 14:52:36 -0500 Subject: [PATCH] Remove explicit python version list This is required to make -DPYTHON_EXECUTABLE work correctly --- llvm/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) Index: llvm-toolchain-9_9~svn366428/CMakeLists.txt =================================================================== --- llvm-toolchain-9_9~svn366428.orig/CMakeLists.txt +++ llvm-toolchain-9_9~svn366428/CMakeLists.txt @@ -643,7 +643,7 @@ option(LLVM_ENABLE_PLUGINS "Enable plugi include(HandleLLVMOptions) # We support both Python 2 and 3. -set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 2.7) +set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5) include(FindPythonInterp) if( NOT PYTHONINTERP_FOUND ) message(FATAL_ERROR