You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed all the libraries but now the error told me that there's some problem in CMakeList.txt:
CMake Error at cmake/FindDlib.cmake:46 (set_property):
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):
F:/CSsoftware/vcpkg-master/scripts/buildsystems/vcpkg.cmake:263 (_find_package)
CMakeLists.txt:21 (find_package)
The text was updated successfully, but these errors were encountered:
As I used windows, I installed vcpkg in my computer and modified the previous cmakeList by add a sentence:
SET(CMAKE_TOOLCHAIN_FILE "F:/CSsoftware/vcpkg-master/scripts/buildsystems/vcpkg.cmake")
to make the libraries installed by vcpkg can be used by the project
I have installed all the libraries but now the error told me that there's some problem in CMakeList.txt:
CMake Error at cmake/FindDlib.cmake:46 (set_property):
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):
F:/CSsoftware/vcpkg-master/scripts/buildsystems/vcpkg.cmake:263 (_find_package)
CMakeLists.txt:21 (find_package)
The text was updated successfully, but these errors were encountered: