CMakeLists.txt
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Wed, 7 Aug 2019 13:11:36 +0000 (14:11 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Wed, 7 Aug 2019 13:11:36 +0000 (14:11 +0100)
===================================================================

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

CMakeLists.txt

index 81c2bab39ec96a7d6e037a3aedebba57340f669e..e800a29944daab32a41142be09459ac7654715b6 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")