summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-08-27 18:20:06 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2017-08-27 18:21:29 (GMT)
commit0b7e6dc7d70a93f1aa79e42ec7f8ac639ae37b4f (patch)
tree7846649ef27c90350c7d260437c10b8f10fc7fd8 /scripts
parent8645420963417ffc64d2e88f64935249e0db225c (diff)
webkitgtk: update to 2.16.6
Fix some common cmake variables to fix some webkitgtk compile issues.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toolchain.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/toolchain.cmake.in b/scripts/toolchain.cmake.in
index 39f1c1a..941fbc5 100644
--- a/scripts/toolchain.cmake.in
+++ b/scripts/toolchain.cmake.in
@@ -6,8 +6,10 @@ set(CMAKE_C_FLAGS "@@TARGET_CFLAGS@@" CACHE STRING "OpenADK CFLAGS" FORCE)
set(CMAKE_CXX_FLAGS "@@TARGET_CXXFLAGS@@" CACHE STRING "OpenADK CXXFLAGS" FORCE)
set(CMAKE_INSTALL_SO_NO_EXE 0)
set(CMAKE_PROGRAM_PATH "@@STAGING_HOST_DIR@@/usr/bin")
+set(CMAKE_SYSROOT "@@STAGING_TARGET_DIR@@")
set(CMAKE_FIND_ROOT_PATH "@@STAGING_TARGET_DIR@@")
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(ENV{PKG_CONFIG_SYSROOT_DIR} "@@STAGING_TARGET_DIR@@")