# HG changeset patch # User koda # Date 1358718686 -3600 # Node ID 48a7986e46f83e4da7a621697bca5d1e9e144b8b # Parent 2784b2610b5c01c687946381a78af666a331e390 fix out of source build diff -r 2784b2610b5c -r 48a7986e46f8 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)