CMakeLists.txt
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Tue, 2 Apr 2019 09:57:08 +0000 (10:57 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 2 Apr 2019 09:57:08 +0000 (10:57 +0100)
===================================================================

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name CMakeLists.txt.diff

CMakeLists.txt

index 27754f339493bddac854b4ebb438ad50306f5918..4c78afed399f946d25a186c4818ccf137083ac1a 100644 (file)
@@ -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")