add_compile_definitions() was introduced in cmake 3.12.
As the specified minimum cmake version is 2.8.12, use the older add_definitions() instead.
Details
Details
Builds fine now with cmake 3.10.2, before I got this error message:
CMake Error at CMakeLists.txt:10 (add_compile_definitions): Unknown CMake command "add_compile_definitions".
Still builds fine with cmake 3.15.1.
According to the build log, -DQURL_NO_CAST_FROM_STRING is still passed to the compiler as before.
Diff Detail
Diff Detail
- Repository
- R443 KImageMapEditor
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.