[Ktutorial-commits] SF.net SVN: ktutorial:[371] trunk/ktutorial/ktutorial-editor/src/CMakeLists .tx
Status: Alpha
Brought to you by:
danxuliu
From: <dan...@us...> - 2012-08-15 02:08:10
|
Revision: 371 http://ktutorial.svn.sourceforge.net/ktutorial/?rev=371&view=rev Author: danxuliu Date: 2012-08-15 02:08:03 +0000 (Wed, 15 Aug 2012) Log Message: ----------- Change file missed in previous commit (#370). Modified Paths: -------------- trunk/ktutorial/ktutorial-editor/src/CMakeLists.txt Modified: trunk/ktutorial/ktutorial-editor/src/CMakeLists.txt =================================================================== --- trunk/ktutorial/ktutorial-editor/src/CMakeLists.txt 2012-08-15 00:58:48 UTC (rev 370) +++ trunk/ktutorial/ktutorial-editor/src/CMakeLists.txt 2012-08-15 02:08:03 UTC (rev 371) @@ -16,7 +16,12 @@ # of the library. if(ktutorial-library_BINARY_DIR) set(KTUTORIAL_FOUND TRUE) - include_directories(${ktutorial-library_BINARY_DIR}/includes) + # Include the headers from the build directory before the general includes + # to ensure that, even if the KTutorial headers were installed, the ones + # from the build directory (and, thus, the most updated ones) are used. + # Not really necessary here, as the editor uses KDE4Defaults, and they set + # CMAKE_INCLUDE_DIRECTORIES_BEFORE to ON, but just in case this changes. + include_directories(BEFORE ${ktutorial-library_BINARY_DIR}/includes) set(KTUTORIAL_LIBRARIES ktutorial) endif(ktutorial-library_BINARY_DIR) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |