aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/hjson-cpp/fix-runtime-destination.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/hjson-cpp/fix-runtime-destination.patch')
-rw-r--r--vcpkg/ports/hjson-cpp/fix-runtime-destination.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/hjson-cpp/fix-runtime-destination.patch b/vcpkg/ports/hjson-cpp/fix-runtime-destination.patch
new file mode 100644
index 0000000..cd4fc0d
--- /dev/null
+++ b/vcpkg/ports/hjson-cpp/fix-runtime-destination.patch
@@ -0,0 +1,12 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index f1f6cf4..05189a3 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -33,6 +33,6 @@ set_target_properties(hjson PROPERTIES
+ )
+
+ if(HJSON_ENABLE_INSTALL)
+- install(TARGETS hjson EXPORT hjson DESTINATION ${lib_dest})
++ install(TARGETS hjson EXPORT hjson DESTINATION ${lib_dest} RUNTIME DESTINATION bin)
+ install(FILES ${header} DESTINATION ${include_dest})
+ endif()