Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENABLE_ALL is not reset in some cases #397

Open
linus-sherrill opened this issue Jun 29, 2018 · 0 comments
Open

ENABLE_ALL is not reset in some cases #397

linus-sherrill opened this issue Jun 29, 2018 · 0 comments

Comments

@linus-sherrill
Copy link
Collaborator

  1. Start with a clean build area. Run ccmake and select fletch_BUILD_CXX11=OFF and fletch_ENABLE_ALL_PACKAGES= ON.
  2. 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)```
    
  3. 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

  1. select fletch_ENABLE_ALL_PACKAGES= on
  2. configure
  3. select fletch_BUILD_CXX11=off
  4. configure - get error as above
  5. select fletch_ENABLE_pybind11=OFF
  6. configure - no error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant