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 configuration failure #442

Closed
cwcatkins opened this issue Feb 20, 2020 · 3 comments · Fixed by #451
Closed

CMake configuration failure #442

cwcatkins opened this issue Feb 20, 2020 · 3 comments · Fixed by #451
Labels

Comments

@cwcatkins
Copy link

cwcatkins commented Feb 20, 2020

Hi,

When building using CMake v3.3.1 an error is returned:

CMake Erroat CMakeLists.txt:388 (if):
  if given arguments:
    "CMAKE_VERSION" "VERSION_GREATER_EQUAL" "3.14"
  Unknown arguments specified.

The configuration then fails.

I think this is due to VERSION_GREATER_EQUAL not being available in CMake 3.3.1, only VERSION_GREATER is:
https://cmake.org/cmake/help/v3.3/command/if.html

After changing the if statement the code compiled.

Kind Regards,

Chay

@jacobwilliams
Copy link
Owner

@zbeekman Any thoughts on this?

@zbeekman
Copy link
Contributor

yes sounds like @cwcatkins has figured out what's up. I think it might be worthwhile bumping the minimum cmake required, at this point even 3.3 is pretty ancient.

@jacobwilliams
Copy link
Owner

For, now I can just change it to this:

  if(CMAKE_VERSION VERSION_GREATER 3.13.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants