Describe the bug
When intalling OpenEXR with x64-windows-static, IlmImf-2_3 and IlmImfUtil-2_3 are only built as a dynamic import library. The other libraries (Half, Iex, IexMath, IlmThread, Imath) all have a static library with _s postfix.
Checked if it was just a naming issue, but linking against IlmImf-2_3.lib makes my .exe import IlmImf-2_3.dll and with it all the other dlls.
Environment
- OS: Windows 10
- Compiler: MS VC 2017 (15.9.15)
To Reproduce
- ./vcpkg install openexr --triplet x64-windows-static
- Go to [VCPKG_ROOT]/installed/x64-windows-static/lib
- No IlmImf-2_3_s.lib or IlmImfUtil-2_3_s.lib
Expected behavior
OpenEXR port should compile and install static versions of IlmImf-2_3 and IlmImfUtil-2_3.
Additional context
This was not a problem with vcpkg and OpenEXR 2.2 so I assume this PR introduced the bug:
#5227
Another discussion mentioning the issue:
#6343 (comment)
Describe the bug
When intalling OpenEXR with
x64-windows-static, IlmImf-2_3 and IlmImfUtil-2_3 are only built as a dynamic import library. The other libraries (Half, Iex, IexMath, IlmThread, Imath) all have a static library with _s postfix.Checked if it was just a naming issue, but linking against IlmImf-2_3.lib makes my .exe import IlmImf-2_3.dll and with it all the other dlls.
Environment
To Reproduce
Expected behavior
OpenEXR port should compile and install static versions of IlmImf-2_3 and IlmImfUtil-2_3.
Additional context
This was not a problem with vcpkg and OpenEXR 2.2 so I assume this PR introduced the bug:
#5227
Another discussion mentioning the issue:
#6343 (comment)