mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
games-emulation/rpcs3: update cmake_minimum_required
Closes: https://bugs.gentoo.org/977908 Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
2 files changed
+10
No files matched your search
+5
@@ -123,6 +123,11 @@ src_prepare() {
|
||||
# Disable automagic ccache
|
||||
sed -i -e '/find_program(CCACHE_PATH ccache .*)/d' CMakeLists.txt || die
|
||||
|
||||
# QA Notice: Compatibility with CMake < 3.5 has been removed from CMake 4
|
||||
find . -maxdepth 9 -type f -name CMakeLists.txt \
|
||||
-exec sed -i -e '/cmake_minimum_required/c\cmake_minimum_required(VERSION 4.0)' {} \; \
|
||||
|| die "Could not update cmake_minimum_required"
|
||||
|
||||
# Unbundle yaml-cpp: system yaml-cpp should be compiled with -fexceptions
|
||||
# sed -i -e '/yaml-cpp/d' 3rdparty/CMakeLists.txt || die
|
||||
# sed -i -e '$afind_package(yaml-cpp)\n' CMakeLists.txt || die
|
||||
@@ -123,6 +123,11 @@ src_prepare() {
|
||||
# Disable automagic ccache
|
||||
sed -i -e '/find_program(CCACHE_PATH ccache .*)/d' CMakeLists.txt || die
|
||||
|
||||
# QA Notice: Compatibility with CMake < 3.5 has been removed from CMake 4
|
||||
find . -maxdepth 9 -type f -name CMakeLists.txt \
|
||||
-exec sed -i -e '/cmake_minimum_required/c\cmake_minimum_required(VERSION 4.0)' {} \; \
|
||||
|| die "Could not update cmake_minimum_required"
|
||||
|
||||
# Unbundle yaml-cpp: system yaml-cpp should be compiled with -fexceptions
|
||||
# sed -i -e '/yaml-cpp/d' 3rdparty/CMakeLists.txt || die
|
||||
# sed -i -e '$afind_package(yaml-cpp)\n' CMakeLists.txt || die
|
||||
Reference in new issue
Block a user