diff options
| author | Johannes Huber <johu@gentoo.org> | 2014-07-27 12:23:55 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2014-07-27 12:23:55 +0200 |
| commit | 3b0721973def80758010c73f486239fe16eded80 (patch) | |
| tree | bd54f8bede7fdb3c1ccc4eaee3a0fbca53314bfe /dev-util/cmake/files/cmake-2.8.10.2-FindPythonInterp.patch | |
| parent | 9cd01fff732f0ca35f2621707481f56f53a1ef10 (diff) | |
| download | kde-3b0721973def80758010c73f486239fe16eded80.tar.gz kde-3b0721973def80758010c73f486239fe16eded80.tar.bz2 kde-3b0721973def80758010c73f486239fe16eded80.zip | |
[dev-util/cmake] Moved to tree
Package-Manager: portage-2.2.10
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.10.2-FindPythonInterp.patch')
| -rw-r--r-- | dev-util/cmake/files/cmake-2.8.10.2-FindPythonInterp.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.10.2-FindPythonInterp.patch b/dev-util/cmake/files/cmake-2.8.10.2-FindPythonInterp.patch deleted file mode 100644 index a7e8688ec87..00000000000 --- a/dev-util/cmake/files/cmake-2.8.10.2-FindPythonInterp.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- Modules/FindPythonInterp.cmake -+++ Modules/FindPythonInterp.cmake -@@ -60,6 +60,10 @@ - - list(APPEND _Python_NAMES python) - -+if (CMAKE_BUILD_TYPE STREQUAL Gentoo) -+ set(_Python_NAMES python) -+endif() -+ - # Search for the current active python version first - find_program(PYTHON_EXECUTABLE NAMES ${_Python_NAMES}) - -@@ -76,7 +80,7 @@ - unset(_PYTHON3_VERSIONS) - - # Search for newest python version if python executable isn't found --if(NOT PYTHON_EXECUTABLE) -+if(NOT PYTHON_EXECUTABLE AND NOT CMAKE_BUILD_TYPE STREQUAL Gentoo) - foreach(_CURRENT_VERSION ${_Python_VERSIONS}) - set(_Python_NAMES python${_CURRENT_VERSION}) - if(WIN32) |
