!15 glew cmake project requires a c++ compiler
From: @meng-wenhua Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
34916b4e2f
@ -0,0 +1,26 @@
|
|||||||
|
From f5f69b25eb3495775aef94f443487a4295c0a57e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Olli Kallioinen <olli.kallioinen@iki.fi>
|
||||||
|
Date: Fri, 29 Dec 2017 16:54:53 +0200
|
||||||
|
Subject: [PATCH] Fix for issue #169 (glew cmake project requires a c++
|
||||||
|
compiler)
|
||||||
|
|
||||||
|
---
|
||||||
|
build/cmake/CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt
|
||||||
|
index 5081e0f..d724e10 100644
|
||||||
|
--- a/build/cmake/CMakeLists.txt
|
||||||
|
+++ b/build/cmake/CMakeLists.txt
|
||||||
|
@@ -2,7 +2,7 @@ if ( NOT DEFINED CMAKE_BUILD_TYPE )
|
||||||
|
set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" )
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
-project (glew)
|
||||||
|
+project (glew C)
|
||||||
|
|
||||||
|
cmake_minimum_required (VERSION 2.8.12)
|
||||||
|
|
||||||
|
--
|
||||||
|
2.37.3.windows.1
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: glew
|
Name: glew
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: The OpenGL Extension Wrangler Library
|
Summary: The OpenGL Extension Wrangler Library
|
||||||
License: BSD-3-Clause and MIT
|
License: BSD-3-Clause and MIT
|
||||||
URL: http://glew.sourceforge.net
|
URL: http://glew.sourceforge.net
|
||||||
@ -14,6 +14,7 @@ Obsoletes: libGLEW < %{version}-%{release}
|
|||||||
|
|
||||||
Patch6000: backport-0001-Include-description-of-glew-in-README.md.patch
|
Patch6000: backport-0001-Include-description-of-glew-in-README.md.patch
|
||||||
Patch6001: backport-0001-Fixed-compilation-with-current-mesa-versions.patch
|
Patch6001: backport-0001-Fixed-compilation-with-current-mesa-versions.patch
|
||||||
|
Patch6002: backport-0001-Fix-for-issue-169-glew-cmake-project-requires-a-c-co.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
||||||
@ -64,6 +65,9 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
|||||||
%doc doc/*
|
%doc doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 7 2023 mengwenhua <mengwenhua@xfusion.com> - 2.1.0-8
|
||||||
|
- glew cmake project requires a c++ compiler
|
||||||
|
|
||||||
* Fri Jan 6 2023 mengwenhua<mengwenhua@xfusion.com> - 2.1.0-7
|
* Fri Jan 6 2023 mengwenhua<mengwenhua@xfusion.com> - 2.1.0-7
|
||||||
- Fixed compilation with current mesa versions.
|
- Fixed compilation with current mesa versions.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user