aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/raylib/fix-link-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/raylib/fix-link-path.patch')
-rw-r--r--vcpkg/ports/raylib/fix-link-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/raylib/fix-link-path.patch b/vcpkg/ports/raylib/fix-link-path.patch
new file mode 100644
index 0000000..cae0841
--- /dev/null
+++ b/vcpkg/ports/raylib/fix-link-path.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/raylib-config.cmake b/cmake/raylib-config.cmake
+index 700965c..4815cd6 100644
+--- a/cmake/raylib-config.cmake
++++ b/cmake/raylib-config.cmake
+@@ -65,7 +65,7 @@ if (NOT TARGET raylib)
+ IMPORTED_LOCATION "${raylib_LIBRARIES}"
+ IMPORTED_IMPLIB "${raylib_LIBRARIES}"
+ INTERFACE_INCLUDE_DIRECTORIES "${raylib_INCLUDE_DIRS}"
+- INTERFACE_LINK_LIBRARIES "${raylib_LDFLAGS}"
++ INTERFACE_LINK_LIBRARIES "${raylib_LIBRARIES}"
+ INTERFACE_COMPILE_OPTIONS "${raylib_DEFINITIONS}"
+ )
+