diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index b316f4f2c..37241b02d 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -119,11 +119,10 @@ QT4_WRAP_CPP(CHECK_MOC_SRCS ${CHECK_HEADERS}) # add translations ... QT4_ADD_TRANSLATION(CHECK_QM ${CHECK_TRANS}) - # Include binary directory where code from UI files gets created include_directories(${CMAKE_CURRENT_BINARY_DIR}) -ADD_EXECUTABLE(gui ${CHECKGUI_SRCS} ${CHECK_MOC_SRCS} ${CHECK_UIS_H} +ADD_EXECUTABLE(gui WIN32 ${CHECKGUI_SRCS} ${CHECK_MOC_SRCS} ${CHECK_UIS_H} ${CHECK_RCC_SRCS} ${CHECK_QM}) TARGET_LINK_LIBRARIES(gui ${CHECK_LIBS} ${QT_LIBRARIES})