yourWaifu/sleepy-discord

SLEEPY_VCPKG confusion

uis246 opened this issue · 3 comments

For some reason find_package is hidden behind USE_VCPKG flag. Why? Find_package isn't something vcpkg-specific, it's part of cmake.

It's not hidden. The tutorial uses add subdirectory, but to use find_package cmake needs to know how to find said library. So you need a cmake that finds the package. I personally don't want to deal with that mess and so I lock it behind VCPKG.

I looked into cmake/Modules. Yep, no modules for those, sorry.

Still install() is unrelated to VCPKG