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)