+ # CMake Error at CMakeLists.txt:86 (find_package):
+ # By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
+ # project has asked CMake to find a package configuration file provided by
+ # "Qt5LinguistTools", but CMake did not find one.
+ #
+ # Could not find a package configuration file provided by "Qt5LinguistTools"
+ # with any of the following names:
+ #
+ # Qt5LinguistToolsConfig.cmake
+ # qt5linguisttools-config.cmake
+ #
+ # Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
+ # set "Qt5LinguistTools_DIR" to a directory containing one of the above
+ # files. If "Qt5LinguistTools" provides a separate development package or
+ # SDK, be sure it has been installed.
+ # ---
+ #CMake Warning at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:273 (find_package):
+ # Could not find a package configuration file provided by "Qt5Network" with
+ # any of the following names:
+ #
+ # Qt5NetworkConfig.cmake
+ # qt5network-config.cmake
+ #
+ # Add the installation prefix of "Qt5Network" to CMAKE_PREFIX_PATH or set
+ # "Qt5Network_DIR" to a directory containing one of the above files. If
+ # "Qt5Network" provides a separate development package or SDK, be sure it has
+ # been installed.
+ # Can not use "Network" module which has not yet been found.
+
+ if (m{By not providing "Find(.+)\.cmake" in CMAKE_MODULE_PATH}
+ or m{Could not find a package configuration file provided by "(.+)"
+ }) {
+ my $cmake = $1;
+ my $lcmake = lc $cmake;
+
+ warn "Looking for cmake file: $cmake\n";
+ poldek_file(
+ "/usr/*/cmake/*/$cmake.cmake",
+ "/usr/*/cmake/*/${cmake}Config.cmake",
+ "/usr/*/cmake/*/${cmake}-config.cmake",
+ "/usr/*/cmake/*/${lcmake}Config.cmake",
+ "/usr/*/cmake/*/${lcmake}-config.cmake",
+ )
+ }
+