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

[CMake Error] newer versions of CMake complain about duplicate else #12

Open
moriarty opened this issue Oct 29, 2017 · 4 comments
Open

Comments

@moriarty
Copy link

Newer versions of CMake complain:

-- Looking for ccache - found (/usr/bin/ccache)
CMake Error at cmake/OpenCVCompilerOptions.cmake:21 (else):
  A duplicate ELSE command was found inside an IF block.
Call Stack (most recent call first):
  CMakeLists.txt:495 (include)

This has already been patched upstream master and back-ported to 2.4.

opencv/opencv#9408

How does one submitted a PR to apply the same patch?

@moriarty
Copy link
Author

My question should have been "to where" not "how does" one submit a PR.

@tfoote
Copy link
Contributor

tfoote commented Mar 16, 2018

Was this resolved with the update to 3.3.1?

@moriarty
Copy link
Author

Unfortunately I'm in the process of moving and don't have the desktop with me where this error occurred.

I will try to check as soon as possible.

@Flow86
Copy link

Flow86 commented Jun 12, 2018

Hi,
can be reproduced with cmake version 3.11.2 (i.e on debian buster) if ccache is used

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

3 participants