mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:29:01 +08:00
[raylib] Fix link warning (#41437)
This commit is contained in:
parent
e4fef94e1b
commit
5bb2aee08b
13
ports/raylib/fix-link-path.patch
Normal file
13
ports/raylib/fix-link-path.patch
Normal file
@ -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}"
|
||||
)
|
||||
|
@ -18,6 +18,7 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
android.diff
|
||||
fix-link-path.patch
|
||||
)
|
||||
file(GLOB vendored_headers RELATIVE "${SOURCE_PATH}/src/external"
|
||||
"${SOURCE_PATH}/src/external/cgltf.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "raylib",
|
||||
"version": "5.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "A simple and easy-to-use library to enjoy videogames programming",
|
||||
"homepage": "https://github.com/raysan5/raylib",
|
||||
"license": "Zlib",
|
||||
|
@ -7774,7 +7774,7 @@
|
||||
},
|
||||
"raylib": {
|
||||
"baseline": "5.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"rbdl": {
|
||||
"baseline": "3.3.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e16299f8e3d6b40674ce53b106b764bd7459ad63",
|
||||
"version": "5.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "6ef397a5c5afb217736842e45d9610d084a1fb2d",
|
||||
"version": "5.0",
|
||||
|
Loading…
Reference in New Issue
Block a user