Skip to content

Commit

Permalink
fmt: add missing library type
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Wójt <[email protected]>
  • Loading branch information
domin144 committed Dec 9, 2023
1 parent 9cac1d2 commit ba1a655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake/externalpackages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ macro (find_or_download_fmt)
set (FMT_INCLUDE_DIR "${FMT_INSTALL_DIR}/include")
set (OIIO_USING_FMT_LOCAL TRUE)
set (fmt_VERSION ${BUILD_FMT_VERSION})
add_library(fmt::fmt IMPORTED)
add_library(fmt::fmt INTERFACE IMPORTED)
else ()
get_target_property(FMT_INCLUDE_DIR fmt::fmt INTERFACE_INCLUDE_DIRECTORIES)
set (OIIO_USING_FMT_LOCAL FALSE)
Expand Down

0 comments on commit ba1a655

Please sign in to comment.