Skip to content

Add selectable MSVC runtime library - #192

Merged
danoli3 merged 1 commit into
masterfrom
fix/msvc-runtime-option
Oct 22, 2026
Merged

danoli3 merged 1 commit into
masterfrom
fix/msvc-runtime-option

Conversation

@danoli3

@danoli3 danoli3 commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Adds FREEIMAGE_MSVC_RUNTIME=Default|MD|MT to select the MSVC CRT for FreeImage targets and forwards the selection to bundled codec builds. Sets CMP0091's child-project default when forwarding the override so older bundled CMake projects such as Highway honor it. Adds Windows CI builds and tests for both MD and MT in Debug and Release with bundled HEIF/AOM and JPEG XL/Highway. Documents the setting and matching requirements for prebuilt libraries.

The runtime-selection request and initial CMake proposal came from @haobinnan in #190. This PR builds on that proposal with bundled-codec propagation, CMP0091 handling for Highway, documentation, and MD/MT CI coverage. Thanks @haobinnan for identifying the issue and contributing the initial configuration.

Addresses #190.

@danoli3
danoli3 merged commit 859a47c into master Oct 22, 2026
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant