diff -r 63e6243b880c -r 34d18b9c2cab CMakeLists.txt --- a/CMakeLists.txt Thu Feb 06 20:43:22 2014 +0200 +++ b/CMakeLists.txt Sat Feb 22 16:39:26 2014 +0200 @@ -102,6 +102,7 @@ set (LDForgeResources ldforge.qrc) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall") set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lGLU") +include_directories ("${PROJECT_BINARY_DIR}") include_directories ("${PROJECT_BINARY_DIR}/src") include_directories ("${PROJECT_BINARY_DIR}/src/misc") @@ -116,7 +117,8 @@ add_executable (ldforge ${LDForgeSources} ${LDForgeResourcesRCC} - ${LDForgeFormsHeaders} + ${LDForgeFormsHeaders} + ${LDForgeMOC} ) target_link_libraries (ldforge