[vcpkg] Replace APPEND to PREPEND on vcpkg.cmake#14552
[vcpkg] Replace APPEND to PREPEND on vcpkg.cmake#14552JackBoosY wants to merge 1 commit intomicrosoft:masterfrom
Conversation
|
@Nemirtingas Can you please test this PR? Thanks. |
|
@strega-nil Should I also need to modify line 293 to |
Hi, I will test it asap, thanks. |
|
@strega-nil @JackBoosY |
Hi, I use https://github.com/tpoechtrager/osxcross/blob/master/tools/toolchain.cmake, could this be the cause ? |
|
Yes the toolchain is loaded before vcpkg so it affects everything. I strongly assume that: is the reason since:
I also don't know how the PKGCONFIG environment will interact with VCPKG. |
|
Closing as @Neumann-A makes very good points. |
Change
APPENDtoPREPENDto avoid finding the system library first.Fixes #13457.