mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
TexturePacker: Hack to work around CMAKE_SOURCE_DIR
This commit is contained in:
parent
5e058705dd
commit
b879177d0e
@ -33,8 +33,7 @@ PKG_AUTORECONF="no"
|
|||||||
|
|
||||||
PKG_CMAKE_SCRIPT="$(get_build_dir $MEDIACENTER)/tools/depends/native/TexturePacker/CMakeLists.txt"
|
PKG_CMAKE_SCRIPT="$(get_build_dir $MEDIACENTER)/tools/depends/native/TexturePacker/CMakeLists.txt"
|
||||||
|
|
||||||
PKG_CMAKE_OPTS_HOST="-DCORE_SOURCE_DIR=$(get_build_dir $MEDIACENTER) \
|
PKG_CMAKE_OPTS_HOST="-Wno-dev"
|
||||||
-Wno-dev"
|
|
||||||
|
|
||||||
pre_build_host() {
|
pre_build_host() {
|
||||||
$SCRIPTS/clean $PKG_NAME
|
$SCRIPTS/clean $PKG_NAME
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
diff -Naur a/tools/depends/native/TexturePacker/CMakeLists.txt b/tools/depends/native/TexturePacker/CMakeLists.txt
|
||||||
|
--- a/tools/depends/native/TexturePacker/CMakeLists.txt 2016-12-23 17:10:28.593185862 +0000
|
||||||
|
+++ b/tools/depends/native/TexturePacker/CMakeLists.txt 2016-12-23 17:10:39.469253011 +0000
|
||||||
|
@@ -1,3 +1,5 @@
|
||||||
|
+set(CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}/../../../..)
|
||||||
|
+
|
||||||
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
|
||||||
|
|
||||||
|
if(APPLE)
|
Loading…
x
Reference in New Issue
Block a user