[Lldb-commits] [PATCH] D15067: Design building out of sources

Kamil Rytarowski via lldb-commits lldb-commits at lists.llvm.org
Sun May 1 05:09:20 PDT 2016


krytarowski added inline comments.

================
Comment at: cmake/modules/LLDBStandalone.cmake:85
@@ -63,3 +84,3 @@
 
   if (PYTHON_EXECUTABLE STREQUAL "")
     set(Python_ADDITIONAL_VERSIONS 3.5 3.4 3.3 3.2 3.1 3.0 2.7 2.6 2.5)
----------------
When I am including conditionally `include(FindPythonInterp)` with this `PYTHON_EXECUTABLE STREQUAL ""` conditional I'm facing the said issue with:

```
CMake Error at scripts/cmake_install.cmake:31 (file):
  file INSTALL cannot find
  "/tmp/pkgsrc-tmp/wip/lldb-git/work/build/lib/python.".
Call Stack (most recent call first):
  cmake_install.cmake:37 (include)
  


*** Error code 1
```

If I put here `include(FindPythonInterp)` unconditionally, there is no error in `cmake_install.cmake:37`.


Repository:
  rL LLVM

http://reviews.llvm.org/D15067





More information about the lldb-commits mailing list