aboutsummaryrefslogtreecommitdiff
path: root/ports/openimageio/remove_wrong_dependency.patch
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-06-14 07:55:33 +0800
committermyd7349 <myd7349@gmail.com>2019-06-14 07:55:33 +0800
commit1e9b8dd1b420aac64cbdd8bb905c02fa3c651b17 (patch)
tree284efa9cf01657928d184e194a39e7cdee682e04 /ports/openimageio/remove_wrong_dependency.patch
parent7cd35529736837e2e74dad231717bda76327ac79 (diff)
parentb03f62e0ebc1b5515bc8a1f41f3bfe9eca6589d4 (diff)
downloadvcpkg-1e9b8dd1b420aac64cbdd8bb905c02fa3c651b17.tar.gz
vcpkg-1e9b8dd1b420aac64cbdd8bb905c02fa3c651b17.zip
Merge branch 'master' into rdkafka-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})