-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I use PDCurses after having installed it? #11027
Comments
Because PDCurses did not export any cmake files.
|
Well, that's disappointing. At least you solved my problem, so thanks. For future readers though, it should actually be the following:
|
@programgamer-real This is because the official does not support this feature, can you make this request to the official? |
@JackBoosY Sure, should I make a new issue for this? |
@programgamer-real Yes, could you report it to the official? |
For me these were the lines:
and for linking:
Used this for include in the main.cpp:
|
My question is fairly straightforward: After having installed pdcurses via vcpkg, how do I actually use it in one of my project's
CmakeLists.txt?
I can't seem tofind_package
it under the namesPDCurses
,Curses
,PDC
, or similar. The portfile doesn't make it clear what the package is named either:https://github.com/microsoft/vcpkg/blob/master/ports/pdcurses/portfile.cmake
Plus, when I install other packages, a short snippet for how they should be included into projects is printed. For instance, SDL2 tells you to do
find_package(SDL2 CONFIG REQUIRED)
and thentarget_link_libraries(main PRIVATE SDL2::SDL2 SDL2::SDL2main)
. This instruction is conspicuously missing when I install PDCurses.I've confirmed that this is not a CMake configuration issue by doing a clean reconfigure and finding SDL2, which DOES work.
So, again, how do I include PDCurses?
The text was updated successfully, but these errors were encountered: