-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
The build fails with the following error when ARROW_PYTHON=ON.
LINK : fatal error LNK1104: cannot open file 'optimized.lib'Possible cause:
Cmake's target_link_libararies accepts optimized as a build config.
target_link_libraries(<target> [item1 [item2 [...]]] [[debug|optimized|general] <item>] ...)Seems this flag is considered as a library name in the build.
Environment: OS: Windows 10
Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
System processor: AMD64
Generator: Visual Studio 16 2019
Reporter: Chathura Widanage / @chathurawidanage
Related issues:
- [C++] Cannot build debug with MSVC and vcpkg (relates to)
Original Issue Attachments:
Note: This issue was originally created as ARROW-13470. Please see the migration documentation for further details.