Skip to content
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

CMake Error at vendor/drogon/cmake_modules/Findpg.cmake:16 #2207

Open
ysysimon opened this issue Nov 10, 2024 · 0 comments
Open

CMake Error at vendor/drogon/cmake_modules/Findpg.cmake:16 #2207

ysysimon opened this issue Nov 10, 2024 · 0 comments

Comments

@ysysimon
Copy link

CMake Error at vendor/drogon/cmake_modules/Findpg.cmake:16 (set_target_properties):
Property INTERFACE_LINK_LIBRARIES may not contain link-type keyword
"optimized". The INTERFACE_LINK_LIBRARIES property may contain
configuration-sensitive generator-expressions which may be used to specify
per-configuration rules.
Call Stack (most recent call first):
C:/ysy/CXX/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
vendor/drogon/CMakeLists.txt:363 (find_package)

use -DCMAKE_BUILD_TYPE=Release will cause this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant