aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/flatcc/fix_install_dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/flatcc/fix_install_dir.patch')
-rw-r--r--vcpkg/ports/flatcc/fix_install_dir.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/flatcc/fix_install_dir.patch b/vcpkg/ports/flatcc/fix_install_dir.patch
new file mode 100644
index 0000000..6ee64db
--- /dev/null
+++ b/vcpkg/ports/flatcc/fix_install_dir.patch
@@ -0,0 +1,14 @@
+diff --git a/src/runtime/CMakeLists.txt b/src/runtime/CMakeLists.txt
+index 127e2a4..f827a79 100644
+--- a/src/runtime/CMakeLists.txt
++++ b/src/runtime/CMakeLists.txt
+@@ -12,5 +12,8 @@ add_library(flatccrt
+ )
+
+ if (FLATCC_INSTALL)
+- install(TARGETS flatccrt DESTINATION ${lib_dir})
++ install(TARGETS flatccrt
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()