CMake Error at heimdall-frontend/CMakeLists.txt:11 (find_package) #532
Open
Description
$ cmake --version cmake version 3.27.4
$ brew --version
Homebrew 4.1.10-11-g502434c
Homebrew/homebrew-core (git revision 87b45ed1ec7; last commit 2023-09-10)
Homebrew/homebrew-cask (git revision 8acf42495f; last commit 2023-09-11) (Running on Catalina OS)
When I run:
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DQt5Widgets_DIR=/usr/local/opt/qt5/lib/cmake/Qt5Widgets ..
I get:
CMake Error at heimdall-frontend/CMakeLists.txt:11 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
However, I cannot find Qt5WidgetsConfig.cmake
nor qt5widgets-config.cmake
anywhere.
I googled to no avail but all the threads I found mention people finding these files and adding the dir to the env variable, but I cannot find these files.
Any help would be super appreciated"
Metadata
Assignees
Labels
No labels