forked from pool/hugin
Petr Gajdos
49681fdf27
* Add hugin-EGL-link-against-X11.patch: Link against X11 even when building with EGL support (https://bugs.launchpad.net/hugin/+bug/1938453). * Set up conditionals for building with EGL, but disable EGL support until glew bug is fixed (gh#nigels-com/glew#315). * Switch bcond_with to build with system flann: library is now available on all supported openSUSE versions. * Minor cleanup with spec-cleaner. OBS-URL: https://build.opensuse.org/request/show/914704 OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=108
14 lines
429 B
Diff
14 lines
429 B
Diff
Index: hugin-2020.0.0/CMakeLists.txt
|
|
===================================================================
|
|
--- hugin-2020.0.0.orig/CMakeLists.txt
|
|
+++ hugin-2020.0.0/CMakeLists.txt
|
|
@@ -256,7 +256,7 @@ IF(NOT HUGIN_SHARED OR NOT WIN32)
|
|
ADD_DEFINITIONS(-DGLEW_STATIC)
|
|
ENDIF()
|
|
|
|
-IF(NOT APPLE AND NOT WIN32 AND NOT HAVE_EGL)
|
|
+IF(NOT APPLE AND NOT WIN32)
|
|
MESSAGE(STATUS "Searching X11 header")
|
|
FIND_PACKAGE(X11 REQUIRED)
|
|
ENDIF()
|