drogonframework / drogonframework/drogon

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

Open
#2,207 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.