Cmake error on Arch
k1lya@archlinux ~/o/build (master)> cmake .. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.
Update the VERSION argument
CMake Error at daemon/CMakeLists.txt:22 (find_path): Could not find ev_INCLUDE using the following files: ev.h
-- Configuring incomplete, errors occurred!
the googletest submodule is broken with the latest version of cmake and gcc, while the gcc issue seems to persist with different projects using googletest the cmake one is simply because cmake 4 completely depracated files that declare themselves as cmake < 3.5.
Do you know if this will be addressed any time soon? I haven't found anything in the issue tracker for googletest or cmake about this.
you can fix googletest manually within like 4 lines of code if you know how to use c.
you can fix googletest manually within like 4 lines of code if you know how to use c.
Thank you for this information, but would you please consider including information/documentation about the workaround if you are already familiar and it is only 4loc?
Additionally, while I appreciate that there is a workaround, the build for this package has been broken for a while now based on the timing of the original poster and the comments on the AUR.
Yeah the cmake thing is would be hard to fix, but if you use an older version of cmake then the gcc issues are just adding an include and setting some variables that are undefined to 0 or false