mirror of
https://abf.rosa.ru/djam/SDL2.git
synced 2025-02-23 14:42:58 +00:00
Fix cmake install files path
This commit is contained in:
parent
35182db7ee
commit
dd5194d744
2 changed files with 13 additions and 0 deletions
12
SDL2-2.0.7-cmake-libdir.patch
Normal file
12
SDL2-2.0.7-cmake-libdir.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -urN SDL2-2.0.7/CMakeLists.txt SDL2-2.0.7-patched/CMakeLists.txt
|
||||
--- SDL2-2.0.7/CMakeLists.txt 2017-11-17 12:09:51.064776019 +1000
|
||||
+++ SDL2-2.0.7-patched/CMakeLists.txt 2017-11-17 12:27:57.151796060 +1000
|
||||
@@ -1750,7 +1750,7 @@
|
||||
elseif (WINDOWS)
|
||||
set(PKG_PREFIX "cmake")
|
||||
else ()
|
||||
- set(PKG_PREFIX "lib/cmake/SDL2")
|
||||
+ set(PKG_PREFIX "lib${LIB_SUFFIX}/cmake/SDL2")
|
||||
endif ()
|
||||
|
||||
include(CMakePackageConfigHelpers)
|
|
@ -15,6 +15,7 @@ Url: http://www.libsdl.org/
|
|||
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
||||
Patch0: SDL2-2.0.3-cmake.patch
|
||||
Patch1: SDL2-2.0.7-soversion.patch
|
||||
Patch2: SDL2-2.0.7-cmake-libdir.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: wayland-doc
|
||||
BuildRequires: nas-devel
|
||||
|
|
Loading…
Add table
Reference in a new issue