From 238d32df5b1050ac5a5d6048948ce4e21a19973c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20W=C3=B3jt?= Date: Sat, 9 Dec 2023 15:36:49 +0100 Subject: [PATCH] Add missing public dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dominik Wójt --- src/libOpenImageIO/CMakeLists.txt | 2 +- src/libutil/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libOpenImageIO/CMakeLists.txt b/src/libOpenImageIO/CMakeLists.txt index 309c7dfb49..d08e15fccb 100644 --- a/src/libOpenImageIO/CMakeLists.txt +++ b/src/libOpenImageIO/CMakeLists.txt @@ -143,6 +143,7 @@ target_link_libraries (OpenImageIO OpenImageIO_Util ${OPENIMAGEIO_IMATH_DEPENDENCY_VISIBILITY} ${OPENIMAGEIO_IMATH_TARGETS} + fmt::fmt PRIVATE ${OPENIMAGEIO_OPENEXR_TARGETS} ${OpenCV_LIBRARIES} @@ -155,7 +156,6 @@ target_link_libraries (OpenImageIO ZLIB::ZLIB $ ${CMAKE_DL_LIBS} - fmt::fmt ) if (FREETYPE_FOUND) diff --git a/src/libutil/CMakeLists.txt b/src/libutil/CMakeLists.txt index 10cc4b0c44..b394d55156 100644 --- a/src/libutil/CMakeLists.txt +++ b/src/libutil/CMakeLists.txt @@ -20,6 +20,7 @@ target_link_libraries (OpenImageIO_Util ${GCC_ATOMIC_LIBRARIES} ${OPENIMAGEIO_IMATH_DEPENDENCY_VISIBILITY} ${OPENIMAGEIO_IMATH_TARGETS} + fmt::fmt PRIVATE $ $