diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/flatcc/fix_install_dir.patch | |
Diffstat (limited to 'vcpkg/ports/flatcc/fix_install_dir.patch')
| -rw-r--r-- | vcpkg/ports/flatcc/fix_install_dir.patch | 14 |
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()
|