Skip to content

Conversation

@JackBoosY
Copy link
Contributor

Fix usage issue:

1>LINK : fatal error LNK1104: cannot open file 'optimized.lib'

This is because the keywords including debug/optimization cannot be used in target_link_libraries or cmake expression.
And the upstream fixing this issue in pybind/pybind11#4123 and I confirmed that works.

Fix #26220

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support info:internal labels Aug 9, 2022
@JackBoosY JackBoosY requested a review from Cheney-W August 9, 2022 05:39
@Cheney-W Cheney-W added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Aug 9, 2022
@BillyONeal BillyONeal merged commit 8a23d2e into microsoft:master Aug 9, 2022
@BillyONeal
Copy link
Member

Thanks for running this down with upstream!

@JackBoosY JackBoosY deleted the dev/jack/26220 branch August 10, 2022 02:36
@SunBlack SunBlack mentioned this pull request Feb 24, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pybind11] link failure using CMake, linking to "optimized.lib"

3 participants