summaryrefslogtreecommitdiffstats
path: root/support/misc/Buildroot.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'support/misc/Buildroot.cmake')
-rw-r--r--support/misc/Buildroot.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/misc/Buildroot.cmake b/support/misc/Buildroot.cmake
index b0046b387b..9f5f565255 100644
--- a/support/misc/Buildroot.cmake
+++ b/support/misc/Buildroot.cmake
@@ -1,3 +1,7 @@
+# Impersonate a Linux system. Afterall, that's what we are...
+set(CMAKE_SYSTEM_NAME Linux)
include(Platform/Linux)
+
+# Override problematic settings, to avoid RPATH against host lib directories.
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS FALSE)
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE)
OpenPOWER on IntegriCloud