SLEEPY_VCPKG confusion
uis246 opened this issue · 3 comments
uis246 commented
For some reason find_package is hidden behind USE_VCPKG flag. Why? Find_package isn't something vcpkg-specific, it's part of cmake.
uis246 commented
https://github.com/yourWaifu/sleepy-discord/blob/master/sleepy_discord/CMakeLists.txt#L204
This raises more questions. Why hide this at all?
yourWaifu commented
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.
uis246 commented
I looked into cmake/Modules. Yep, no modules for those, sorry.
Still install() is unrelated to VCPKG