comparison generator/CMakeLists.txt @ 398:aa08a72d480a

Fixed construction of the ?--include-paths? generation argument in the build system. Interestingly enough, it doesn't seem to have caused any problems so far.
author David Nadlinger <code@klickverbot.at>
date Sat, 15 Jan 2011 22:52:06 +0100
parents d2f48c4cb3e3
children e40f33cc0bf5
comparison
equal deleted inserted replaced
397:590dcfc85873 398:aa08a72d480a
231 endforeach() 231 endforeach()
232 mark_as_advanced(d_inc_file_found) 232 mark_as_advanced(d_inc_file_found)
233 set(d_inc_file_found 1) 233 set(d_inc_file_found 1)
234 234
235 foreach(path ${QT_INCLUDES}) 235 foreach(path ${QT_INCLUDES})
236 set(inc_paths_tmp ${path}${sep}) 236 set(inc_paths_tmp ${path}${sep}${inc_paths_tmp})
237 endforeach() 237 endforeach()
238 set(inc_paths ${inc_paths}${sep}${inc_paths_tmp}) 238 set(inc_paths ${inc_paths}${sep}${inc_paths_tmp})
239 239
240 if(${CMAKE_BINARY_DIR} STREQUAL ${CMAKE_SOURCE_DIR}) 240 if(${CMAKE_BINARY_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
241 set(out_dir ${CMAKE_SOURCE_DIR}) 241 set(out_dir ${CMAKE_SOURCE_DIR})