aboutsummaryrefslogtreecommitdiff
path: root/academic/avogadro/avogadro-cmake-3.2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/avogadro/avogadro-cmake-3.2.patch')
-rw-r--r--academic/avogadro/avogadro-cmake-3.2.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/academic/avogadro/avogadro-cmake-3.2.patch b/academic/avogadro/avogadro-cmake-3.2.patch
new file mode 100644
index 000000000000..1c6a38d4ca9b
--- /dev/null
+++ b/academic/avogadro/avogadro-cmake-3.2.patch
@@ -0,0 +1,12 @@
+Index: avogadro-1.1.1/CMakeLists.txt
+===================================================================
+--- avogadro-1.1.1.orig/CMakeLists.txt
++++ avogadro-1.1.1/CMakeLists.txt
+@@ -225,6 +225,7 @@ set(I18N_LANGUAGE "" CACHE STRING "Build
+
+ find_package(Qt4 4.6.0 REQUIRED) # find and setup Qt4 for this project
+ find_package(OpenGL REQUIRED) # find and setup OpenGL
++find_package(X11 REQUIRED) # find and setup X11
+ find_package(Linguist) # find and setup Linguist
+ if(NOT Linguist_FOUND)
+ message(WARNING " Qt4 Linguist not found, please install it if you want Avogadro translations")