feature/unity8: failing to package gtest/gmock properly (for libqtdbustest)
I've already needed gtest/gmock before in some KDE package but failed packaging it at the time. In that case I was able to just remove the tests that needed it to make the rest at least work.
However, for the
libqtdbustest application from UBPorts, it's required again (and this time it's not possible to just remove some tests). Nowadays
gtest is packaged upstream, but it still doesn't work properly (for this specific package anyways). The following error shows up:
CMake Error at CMakeLists.txt:52 (add_subdirectory): add_subdirectory given source "../googletest" which is not an existing directory. CMake Error at CMakeLists.txt:67 (config_compiler_and_linker): Unknown CMake command "config_compiler_and_linker". -- Configuring incomplete, errors occurred!
I can't really figure out what is causing this problem and where it's happening.
All APKBUILDs used are in the
feature/unity8 branch, and specifically commit pmbootstrap@3f8b1dda.