jlec        15/05/11 15:13:51

  Added:                avogadro-1.1.0-xlibs.patch
  Log:
  Add patch to fix underlinking, thanks Tom Daff preparing the patch, bug 
#547400
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
E9402A79B03529A2!)

Revision  Changes    Path
1.1                  sci-chemistry/avogadro/files/avogadro-1.1.0-xlibs.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/avogadro/files/avogadro-1.1.0-xlibs.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/avogadro/files/avogadro-1.1.0-xlibs.patch?rev=1.1&content-type=text/plain

Index: avogadro-1.1.0-xlibs.patch
===================================================================
 * Info: Using [gentoo] (https://bugs.gentoo.org/xmlrpc.cgi)
 * Info: Getting attachment 403034
 * Info: Viewing attachment: "X11.patch"
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 60ec98f..03443a7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -225,6 +225,7 @@ set(I18N_LANGUAGE "" CACHE STRING "Build i18n only for 
selected language")
 
 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_package(Linguist) # find and setup Linguist
 if(NOT Linguist_FOUND)
   message(WARNING " Qt4 Linguist not found, please install it if you want 
Avogadro translations")





Reply via email to