fletch
fletch copied to clipboard
ENABLE_ALL is not reset in some cases
- Start with a clean build area. Run ccmake and select fletch_BUILD_CXX11=OFF and fletch_ENABLE_ALL_PACKAGES= ON.
- configure and get error
CMake Error at CMake/External_pybind11.cmake:2 (message): CXX11 must be enabled to use pybind11 Call Stack (most recent call first): CMakeLists.txt:285 (include)```
- select fletch_ENABLE_pybind11=OFF and configure. Get same error as in step (2). Stuck in loop of disable option, get error. The option fletch_ENABLE_ALL_PACKAGES is not reset in this case. If manually reset, then it proceeds normally.
If you
- select fletch_ENABLE_ALL_PACKAGES= on
- configure
- select fletch_BUILD_CXX11=off
- configure - get error as above
- select fletch_ENABLE_pybind11=OFF
- configure - no error