aboutsummaryrefslogtreecommitdiff
path: root/ports/openimageio/remove_wrong_dependency.patch
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-06-23 08:16:07 +0800
committermyd7349 <myd7349@gmail.com>2019-06-23 08:16:07 +0800
commit644851da5fbe46aadd0a8fa54e1d7d213f469fb0 (patch)
tree3f5d20aca85fcf02375cf553e893c105758a5d39 /ports/openimageio/remove_wrong_dependency.patch
parentf1870ae02bedbaa5a501ddf3a7ba5d0a743a1053 (diff)
parentf3db66b403840b24ea2612d09cca30a5285f5ea3 (diff)
downloadvcpkg-644851da5fbe46aadd0a8fa54e1d7d213f469fb0.tar.gz
vcpkg-644851da5fbe46aadd0a8fa54e1d7d213f469fb0.zip
Merge branch 'master' into sx-init
Diffstat (limited to 'ports/openimageio/remove_wrong_dependency.patch')
-rw-r--r--ports/openimageio/remove_wrong_dependency.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/ports/openimageio/remove_wrong_dependency.patch b/ports/openimageio/remove_wrong_dependency.patch
new file mode 100644
index 000000000..dabf47b1e
--- /dev/null
+++ b/ports/openimageio/remove_wrong_dependency.patch
@@ -0,0 +1,23 @@
+diff --git a/src/libOpenImageIO/CMakeLists.txt b/src/libOpenImageIO/CMakeLists.txt
+index c528adc..bc133b6 100644
+--- a/src/libOpenImageIO/CMakeLists.txt
++++ b/src/libOpenImageIO/CMakeLists.txt
+@@ -162,9 +162,6 @@ if (WIN32)
+ target_link_libraries (OpenImageIO psapi.lib)
+ endif ()
+
+-if (VISIBILITY_MAP_FILE)
+- add_dependencies (OpenImageIO "${VISIBILITY_MAP_FILE}")
+-endif ()
+
+ if (USE_EXTERNAL_PUGIXML)
+ target_link_libraries (OpenImageIO ${PUGIXML_LIBRARIES})
+@@ -230,7 +227,7 @@ if (OIIO_BUILD_TESTS)
+ set_target_properties (imagespec_test PROPERTIES FOLDER "Unit Tests")
+ target_link_libraries (imagespec_test OpenImageIO ${Boost_LIBRARIES})
+ add_test (unit_imagespec imagespec_test)
+-
++
+ add_executable (imagespeed_test imagespeed_test.cpp)
+ set_target_properties (imagespeed_test PROPERTIES FOLDER "Unit Tests")
+ target_link_libraries (imagespeed_test OpenImageIO ${Boost_LIBRARIES})