From: LLVM Packaging Team Date: Tue, 9 Jul 2019 19:04:39 +0000 (+0100) Subject: CMakeLists.txt X-Git-Tag: archive/raspbian/1%7.0.1-9+rpi1~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=524f952d5ecc1c904d2e19f03e1f4488bb610ec4;p=llvm-toolchain-7.git CMakeLists.txt =================================================================== Gbp-Pq: Topic kfreebsd Gbp-Pq: Name CMakeLists.txt.diff --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 63122c4b6..ce4596e5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -821,7 +821,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")