aboutsummaryrefslogtreecommitdiff
path: root/ports/openimageio/fix-tools-path.patch
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2019-12-26 22:28:50 -0800
committerJackBoosY <yuzaiyang@beyondsoft.com>2019-12-26 22:29:33 -0800
commit9d0fc9a47c82533a51f658b16d70ff685a974343 (patch)
tree8c0203a1115d248aa6b0814d869e8cf64a40936c /ports/openimageio/fix-tools-path.patch
parent88727b4d8aa6acfd710b48941a8b940de141dc96 (diff)
downloadvcpkg-9d0fc9a47c82533a51f658b16d70ff685a974343.tar.gz
vcpkg-9d0fc9a47c82533a51f658b16d70ff685a974343.zip
[openimageio] Add feature tools
Diffstat (limited to 'ports/openimageio/fix-tools-path.patch')
-rw-r--r--ports/openimageio/fix-tools-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/openimageio/fix-tools-path.patch b/ports/openimageio/fix-tools-path.patch
new file mode 100644
index 000000000..07e02fddf
--- /dev/null
+++ b/ports/openimageio/fix-tools-path.patch
@@ -0,0 +1,13 @@
+diff --git a/src/cmake/oiio_macros.cmake b/src/cmake/oiio_macros.cmake
+index 9e54f67..d9c9437 100644
+--- a/src/cmake/oiio_macros.cmake
++++ b/src/cmake/oiio_macros.cmake
+@@ -142,7 +142,7 @@ macro (fancy_add_executable)
+ target_link_libraries (${_target_NAME} PRIVATE ${_target_LINK_LIBRARIES})
+ endif ()
+ set_target_properties (${_target_NAME} PROPERTIES FOLDER "Tools")
+- install_targets (${_target_NAME})
++ install(TARGETS ${_target_NAME} RUNTIME DESTINATION tools)
+ else ()
+ message (STATUS "${ColorRed}Disabling ${_target_NAME} ${ColorReset}")
+ endif ()