SteamClientHomebrew / Millennium

Apply themes/skins/customize Steam® after the 2023-04-27 Chromium UI update
https://steambrew.app
MIT License
694 stars 12 forks source link

[Bug] Unable to build due to CPR requirement #57

Closed LunaMeadows closed 1 week ago

LunaMeadows commented 1 week ago

Before Reporting

Describe the Bug

When I attempt to do cmake -B build, the command errors out stating it is unable to locate the cpr package. I could not confirm which cpr package is actually needed but I assume it is https://github.com/libcpr/cpr based on the vcpkg files mentioning it. I installed it how it is stated and tried setting cpr_DIR variable but nothing seemed to work.

CMake Error at CMakeLists.txt:53 (find_package): Could not find a package configuration file provided by "cpr" with any of the following names: cprConfig.cmake cpr-config.cmake Add the installation prefix of "cpr" to CMAKE_PREFIX_PATH or set "cpr_DIR" to a directory containing one of the above files. If "cpr" provides a separate development package or SDK, be sure it has been installed.

Expected Behavior

cmake would detect cpr and move onto the next requirement

Steps To Reproduce

Run cmake -B build in ubuntu 20.04

Operating System

Linux

Anything else?

No response

ShadowMonster99 commented 1 week ago

Run cmake --preset=linux to configure cache properly

LunaMeadows commented 1 week ago

That fixed it, thanks!