* [gentoo-commits] gentoo-x86 commit in kde-base/kalzium/files: kalzium-4.2.1-include-order.patch
@ 2009-03-12 2:52 Marcus Hanwell (cryos)
0 siblings, 0 replies; only message in thread
From: Marcus Hanwell (cryos) @ 2009-03-12 2:52 UTC (permalink / raw
To: gentoo-commits
cryos 09/03/12 02:52:38
Added: kalzium-4.2.1-include-order.patch
Log:
Fixed build time bug 261392.
(Portage version: 2.2_rc24/cvs/Linux x86_64)
Revision Changes Path
1.1 kde-base/kalzium/files/kalzium-4.2.1-include-order.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/files/kalzium-4.2.1-include-order.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/files/kalzium-4.2.1-include-order.patch?rev=1.1&content-type=text/plain
Index: kalzium-4.2.1-include-order.patch
===================================================================
--- kalzium-4.2.1/work/kalzium-4.2.1/kalzium/libavogadro-kalzium/src/CMakeLists.txt 2009-02-26 09:17:16.000000000 -0500
+++ /root/CMakeLists.txt 2009-03-11 18:19:48.000000000 -0400
@@ -15,10 +15,12 @@
${CMAKE_CURRENT_BINARY_DIR}/config.h
)
-include(${QT_USE_FILE})
+# Ensure the Avogadro include directory is always first
+get_directory_property(tmp_include_dirs INCLUDE_DIRECTORIES)
+set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES
+ "${libavogadro-kalzium_SOURCE_DIR}/include;${tmp_include_dirs}")
include_directories(
- ${libavogadro-kalzium_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/..
@@ -26,6 +28,8 @@
${EIGEN_INCLUDE_DIR}
)
+include(${QT_USE_FILE})
+
# Need to build with visibility enabled if KDE is
if(__KDE_HAVE_GCC_VISIBILITY)
add_definitions(-DHAVE_GCC_VISIBILITY)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-12 2:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12 2:52 [gentoo-commits] gentoo-x86 commit in kde-base/kalzium/files: kalzium-4.2.1-include-order.patch Marcus Hanwell (cryos)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox