We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b409c02 commit 198aec9Copy full SHA for 198aec9
src/libOpenImageIO/CMakeLists.txt
@@ -155,7 +155,9 @@ if (WIN32)
155
target_link_libraries (OpenImageIO psapi.lib)
156
endif ()
157
158
-add_dependencies (OpenImageIO "${VISIBILITY_MAP_FILE}")
+if (VISIBILITY_MAP_FILE)
159
+ add_dependencies (OpenImageIO "${VISIBILITY_MAP_FILE}")
160
+endif ()
161
162
if (USE_EXTERNAL_PUGIXML)
163
target_link_libraries (OpenImageIO ${PUGIXML_LIBRARIES})
0 commit comments