From 7527b8e6e3b8452af2a6562f3c5b78d80a38135d Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Fri, 15 Apr 2016 03:29:07 -0400 Subject: [PATCH] linux-x86: Tweak toolchain comment associated with CMAKE_IGNORE_PATH --- linux-x86/Toolchain.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-x86/Toolchain.cmake b/linux-x86/Toolchain.cmake index 0d4a74a..5369f26 100644 --- a/linux-x86/Toolchain.cmake +++ b/linux-x86/Toolchain.cmake @@ -14,7 +14,8 @@ set(CMAKE_CXX_COMPILER /usr/${cross_triple}/bin/${cross_triple}-g++) set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER}) set(CMAKE_AR /usr/${cross_triple}/bin/${cross_triple}-ar) -# Prevent 64-bit libraries from being discovered +# Discard path returned by pkg-config and associated with HINTS in module +# like FindOpenSSL. set(CMAKE_IGNORE_PATH /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/lib/) set(CMAKE_CROSSCOMPILING_EMULATOR sh -c)