conan-io / cmake-conan

CMake wrapper for conan C and C++ package manager
MIT License
814 stars 247 forks source link

Search conan executable in the default installer location #617

Open nolange opened 5 months ago

nolange commented 5 months ago

The official Windows installer [1] by default installs conan to %ProgramFiles%\Conan\conan\conan.exe. Add this subdirectory to the find_package call on Windows.

[1] - https://conan.io/downloads

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.

nolange commented 5 months ago

no, putting stuff in path is a really bad idea, windows will search DLLs there.

if you dont have conan in path, the script wont work obviously