CMake configuration fails
envgap__isl-org__Open3D-7352
01 / FAILURE SIGNATURE
As reported upstream
Flow control statements are not properly nested.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
acd2f69ba478fbf9f67f7cf8565d0e0df460a97e- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
isl-org/Open3D #7352 · read the original issue
### Checklist - [x] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues). - [x] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip). - [x] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch). ### Steps to reproduce the issue #### I first cloned Open3D by: ``` git clone https://github.com/isl-org/Open3D.git cd Open3D ``` #### Then, I build Open3D (on Ubuntu 20.04, with CUDA 11.5) with: ``` mkdir build cd build cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_CUDA_MODULE=OFF -DUSE_BLAS=ON -DBUILD_WEBRTC=OFF .. make -j$(nproc) ``` The configure step fails due to an erroneous endif() ### Error message ```shell CMake Error at CMakeLists.txt:453 (endif): Flow control statements are not properly nested. ``` ### Open3D, Python and System information ```markdown Irrelevant in this case ``` ### Additional information _No response_
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]