summaryrefslogtreecommitdiff
path: root/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.8365-cmake-project.patch
blob: 92683cdfb94290ac643b8284b0483c8fa18cc399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From f883dc94360af37ce85c8a9215c861fdc0431dee Mon Sep 17 00:00:00 2001
From: Conrad Kostecki <conikost@gentoo.org>
Date: Sat, 28 Aug 2021 00:09:09 +0200
Subject: [PATCH] IGC: CMakeLists: add project

If project is not added, CMake will warn about it:
No project() command is present. The top-level CMakeLists.txt file
must contain a literal, direct call to the project() command.

Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bfbcf52eca4..5b04555b21f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,6 +8,8 @@
 
 cmake_minimum_required(VERSION 3.13.4 FATAL_ERROR)
 
+project(IGC)
+
 add_subdirectory(IGC)
 
 list(APPEND IGC__IGC_TARGETS "igc_dll")