Skip to content

build: Raise fmt auto-build version to 12.1, handle Windows flags - #5039

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-fmt
Feb 11, 2026
Merged

build: Raise fmt auto-build version to 12.1, handle Windows flags#5039
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-fmt

Conversation

@lgritz

@lgritz lgritz commented Feb 10, 2026

Copy link
Copy Markdown
Collaborator

Bump the version of 'fmt' library that we download and build (if not found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC unless using the /utf-8 compiler flag, so ensure that is used and also passed on to other clients of libOpenImageIO_Util (which expose templates using those headers).

Bump the version of 'fmt' library that we download and build
(if not found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on
MSVC unless using the `/utf-8` compiler flag, so ensure that is used
and also passed on to other clients of libOpenImageIO_Util (which
expose templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz

lgritz commented Feb 10, 2026

Copy link
Copy Markdown
Collaborator Author

My intent is to backport this to 3.1 for sure, and maybe to 3.0 as well.

@lgritz
lgritz merged commit 27b6799 into AcademySoftwareFoundation:main Feb 11, 2026
61 checks passed
@lgritz
lgritz deleted the lg-fmt branch February 11, 2026 05:09
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Feb 12, 2026
…ademySoftwareFoundation#5039)

Bump the version of 'fmt' library that we download and build (if not
found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC
unless using the `/utf-8` compiler flag, so ensure that is used and also
passed on to other clients of libOpenImageIO_Util (which expose
templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Feb 12, 2026
…ademySoftwareFoundation#5039)

Bump the version of 'fmt' library that we download and build (if not
found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC
unless using the `/utf-8` compiler flag, so ensure that is used and also
passed on to other clients of libOpenImageIO_Util (which expose
templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
ssh4net pushed a commit to ssh4net/OpenImageIO that referenced this pull request Feb 24, 2026
…ademySoftwareFoundation#5039)

Bump the version of 'fmt' library that we download and build (if not
found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC
unless using the `/utf-8` compiler flag, so ensure that is used and also
passed on to other clients of libOpenImageIO_Util (which expose
templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
ssh4net pushed a commit to ssh4net/OpenImageIO that referenced this pull request Apr 1, 2026
…ademySoftwareFoundation#5039)

Bump the version of 'fmt' library that we download and build (if not
found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC
unless using the `/utf-8` compiler flag, so ensure that is used and also
passed on to other clients of libOpenImageIO_Util (which expose
templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Signed-off-by: Vlad <shaamaan@gmail.com>
ssh4net pushed a commit to ssh4net/OpenImageIO that referenced this pull request Apr 2, 2026
…ademySoftwareFoundation#5039)

Bump the version of 'fmt' library that we download and build (if not
found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC
unless using the `/utf-8` compiler flag, so ensure that is used and also
passed on to other clients of libOpenImageIO_Util (which expose
templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
ssh4net pushed a commit to ssh4net/OpenImageIO that referenced this pull request Apr 2, 2026
…ademySoftwareFoundation#5039)

Bump the version of 'fmt' library that we download and build (if not
found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC
unless using the `/utf-8` compiler flag, so ensure that is used and also
passed on to other clients of libOpenImageIO_Util (which expose
templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
ssh4net pushed a commit to ssh4net/OpenImageIO that referenced this pull request Apr 2, 2026
…ademySoftwareFoundation#5039)

Bump the version of 'fmt' library that we download and build (if not
found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC
unless using the `/utf-8` compiler flag, so ensure that is used and also
passed on to other clients of libOpenImageIO_Util (which expose
templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
Signed-off-by: Vlad <shaamaan@gmail.com>
ssh4net pushed a commit to ssh4net/OpenImageIO that referenced this pull request Apr 2, 2026
…ademySoftwareFoundation#5039)

Bump the version of 'fmt' library that we download and build (if not
found) from 10.2 to 12.1.

Some other touch-ups in build_fmt.cmake.

Also, we have seen that recent fmt versions will fail to compile on MSVC
unless using the `/utf-8` compiler flag, so ensure that is used and also
passed on to other clients of libOpenImageIO_Util (which expose
templates using those headers).

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
Signed-off-by: Vlad <shaamaan@gmail.com>
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.

2 participants