meta-intel/recipes-oneapi/crypto/intel-crypto-mb/0003-CMakeLists.txt-exclude-host-system-headers.patch
Vtiurina, Mariia b56b3e4858 intel-crypto-mb: add recipe for ipp crypto library
Intel® Integrated Performance Primitives (Intel® IPP) Cryptography
is a secure, fast and lightweight library of building blocks for cryptography,
highly-optimized for various Intel® CPUs.

Signed-off by: Andrey Latyshev <andrey.latyshev@intel.com>
Signed-off-by: Mariia Vtiurina <mariia.vtiurina@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-24 22:35:46 +08:00

25 lines
855 B
Diff

From 7b575fc23d246373425c3682e83634203aadc4a6 Mon Sep 17 00:00:00 2001
From: Naveen Saini <naveen.kumar.saini@intel.com>
Date: Thu, 17 Jun 2021 12:35:36 +0800
Subject: [PATCH 3/4] CMakeLists.txt: exclude host system headers
Upstream-Status: Inappropriate
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
diff --git a/sources/ippcp/crypto_mb/CMakeLists.txt b/sources/ippcp/crypto_mb/CMakeLists.txt
index d1f3994..db9635b 100644
--- a/sources/ippcp/crypto_mb/CMakeLists.txt
+++ b/sources/ippcp/crypto_mb/CMakeLists.txt
@@ -75,7 +75,6 @@ endif()
include_directories(
${MB_INCLUDE_DIRS}
$<$<C_COMPILER_ID:Intel>:$ENV{ROOT}/compiler/include $ENV{ROOT}/compiler/include/icc>
- $<$<NOT:$<C_COMPILER_ID:Intel>>:${CMAKE_SYSTEM_INCLUDE_PATH}>
$<$<OR:$<C_COMPILER_ID:Intel>,$<BOOL:${MSVC_IDE}>>:$ENV{INCLUDE}>
)
--
2.17.1