-
Notifications
You must be signed in to change notification settings - Fork 80
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
Unknown CMake command "add_compile_definitions". #244
Comments
Apparently, this first appears in cmake version 3.12 while ubuntu 18.04 has only cmake version 3.10 |
Ubuntu 18.04 does not have a new-enough CMake
The older way of doing this is to use |
See https://apt.kitware.com/ for installing the latest cmake version on ubuntu. |
fixed in #246 |
While refreshing on an Ubuntu bionic (18.04 LTS) system, I got the error
Apparently, this requires a newer version of CMake? Which version? Currently, the very first line of
CMakeLists.txt
isbut apparently, this is not enough? Looking at the blame log, this shows that pull req #240 added this code, and it was provided by @ntoxeg and merged by me (apparently, without checking if it worked on bionic ...)
Any clue for what it would take to get this to work on bionic?
The text was updated successfully, but these errors were encountered: