QTfrontend/CMakeLists.txt
changeset 8410 48a7986e46f8
parent 8401 87410ae372f6
child 8444 75db7bb8dce8
child 8449 2816230a107e
--- 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)