File 0001-Do-not-install-Windows-specific-headers-on-Linux.patch of Package libxrt

From cc692e48c6bf112cb613fa977ed568ef4ad16c62 Mon Sep 17 00:00:00 2001
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
Date: Thu, 2 Apr 2020 06:43:35 +0000
Subject: [PATCH 1/3] Do not install Windows-specific headers on Linux

(cherry picked from commit 8c67f13bc1cc8a727b5b001caf038174bf580083)
---
 src/runtime_src/core/include/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/runtime_src/core/include/CMakeLists.txt b/src/runtime_src/core/include/CMakeLists.txt
index 954b21fb..921b994a 100644
--- a/src/runtime_src/core/include/CMakeLists.txt
+++ b/src/runtime_src/core/include/CMakeLists.txt
@@ -23,4 +23,6 @@ foreach (header ${XRT_HEADER_SRC})
 endforeach()
 
 add_subdirectory(experimental)
+if(WIN32)
 add_subdirectory(windows)
+endif()
-- 
2.16.4

openSUSE Build Service is sponsored by