mail[Wesnoth-commits] r34180 - /branches/1.6/src/CMakeLists.txt


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by crazy-ivanovic on March 27, 2009 - 11:47:
Author: ivanovic
Date: Fri Mar 27 11:47:23 2009
New Revision: 34180

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34180&view=rev
Log:
fix the cmake recipe (generated config.h not found)

Modified:
    branches/1.6/src/CMakeLists.txt

Modified: branches/1.6/src/CMakeLists.txt
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/src/CMakeLists.txt?rev=34180&r1=34179&r2=34180&view=diff
==============================================================================
--- branches/1.6/src/CMakeLists.txt (original)
+++ branches/1.6/src/CMakeLists.txt Fri Mar 27 11:47:23 2009
@@ -24,6 +24,8 @@
 
 # needed to get include paths in the subfolders correct
 include_directories( ${CMAKE_SOURCE_DIR}/src/ )
+# needed to have the generated config.h used, too
+include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
 
 link_directories(${Boost_LIBRARY_DIRS})
 




Related Messages


Powered by MHonArc, Updated Fri Mar 27 12:01:10 2009