aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/json11/destination.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/json11/destination.patch')
-rw-r--r--vcpkg/ports/json11/destination.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/json11/destination.patch b/vcpkg/ports/json11/destination.patch
new file mode 100644
index 0000000..6d16303
--- /dev/null
+++ b/vcpkg/ports/json11/destination.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 819c36f..847489e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -52,6 +52,6 @@ if (JSON11_BUILD_TESTS)
+ target_link_libraries(json11_test json11)
+ endif()
+
+-install(TARGETS json11 DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE})
+-install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/json11.hpp" DESTINATION include/${CMAKE_LIBRARY_ARCHITECTURE})
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/json11.pc" DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}/pkgconfig)
++install(TARGETS json11 DESTINATION lib)
++install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/json11.hpp" DESTINATION include)
++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/json11.pc" DESTINATION lib/pkgconfig)