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})
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to