fix out of source build
authorkoda
Sun, 20 Jan 2013 22:51:26 +0100
changeset 8410 48a7986e46f8
parent 8409 2784b2610b5c
child 8411 cb371dac50c0
fix out of source build
QTfrontend/CMakeLists.txt
--- a/QTfrontend/CMakeLists.txt	Mon Jan 21 00:07:26 2013 +0400
+++ b/QTfrontend/CMakeLists.txt	Sun Jan 20 22:51:26 2013 +0100
@@ -44,7 +44,8 @@
 list(APPEND locsout ${firstline} "\n}\\;\n")
 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/servermessages.h ${locsout})
 
-include_directories(.)
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/model)
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/net)
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/ui)