-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Build issues because of errors in Findpg.cmake #536
Comments
Sorry, I mainly created the vcpkg port for installation on Windows. I rarely tested it on other platforms. I will try to fix it. |
@interfector18 , Do you have any suggestions? thank you. |
The PostgreSQL::PostgreSQL target is supported after 3.15 version of cmake, it can cause more errors on user platforms with older versions of cmake installed, so we can't depend on it. |
drogon_port.patch.gz |
@an-tao Thanks for the patch. After applying it, the
However, when added to CMakeLists.txt I see the following error:
When I remove the But the simple example app fails to compile:
|
Just use the defaut CMakeLists.txt generated by find_package(Drogon CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon) |
That worked, thank you. |
@yay , I've update the vcpkg, microsoft/vcpkg#12931 (comment), please check it. thanks. |
@an-tao There was only a single error: Other than that it works, thanks! |
Related issue: microsoft/vcpkg#12760
The text was updated successfully, but these errors were encountered: