From c34d7927b3f143c7fe281e32973a977c18f8bd07 Mon Sep 17 00:00:00 2001 From: David G Yu Date: Thu, 29 Jun 2023 18:55:57 -0700 Subject: [PATCH] Fixed Apple framework object dependencies Updated target object dependencies for Apple static and dynamic frameworks to use TARGET_EXISTS for osd_gpu_obj to allow correct linking when no OSD_GPU targets are enabled. We'll likely revisit these targets further for future releases of OpenSubdiv. Fixes #1224 Fixes #1236 --- opensubdiv/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opensubdiv/CMakeLists.txt b/opensubdiv/CMakeLists.txt index 01034860..c90ef23c 100644 --- a/opensubdiv/CMakeLists.txt +++ b/opensubdiv/CMakeLists.txt @@ -312,7 +312,7 @@ if (NOT NO_LIB) $ $ $ - $ + $<$:$> ${OPENGL_LOADER_OBJS} ) @@ -361,7 +361,7 @@ if (NOT NO_LIB) $ $ $ - $ + $<$:$> ${OPENGL_LOADER_OBJS} )