vcpkg/ports/raylib/fix-link-path.patch

14 lines
568 B
Diff
Raw Normal View History

2024-10-10 23:06:01 +08:00
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}"
)