From: LLVM Packaging Team Date: Thu, 19 Mar 2020 08:50:20 +0000 (+0000) Subject: CMakeLists.txt X-Git-Tag: archive/raspbian/1%8.0.1-9+rpi1^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=31ffa3a6ef37809c6fb606fb0a76159bc3be49c6;p=llvm-toolchain-8.git CMakeLists.txt =================================================================== Gbp-Pq: Topic kfreebsd Gbp-Pq: Name CMakeLists.txt.diff --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 81c2bab39..e800a2994 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -811,7 +811,7 @@ if(LLVM_TARGET_IS_CROSSCOMPILE_HOST) # (this is a variable that CrossCompile sets on recursive invocations) endif() -if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") +if( ${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)" AND NOT "kFreeBSD" ) # On FreeBSD, /usr/local/* is not used by default. In order to build LLVM # with libxml2, iconv.h, etc., we must add /usr/local paths. include_directories(SYSTEM "/usr/local/include")