diff --git a/qcross/CMakeLists.txt b/qcross/CMakeLists.txt index 26a491c..5dae02f 100644 --- a/qcross/CMakeLists.txt +++ b/qcross/CMakeLists.txt @@ -35,7 +35,7 @@ qt4_wrap_ui(FORMS_H ${FORMS}) qt4_wrap_cpp(SOURCES_MOC_CPP ${SOURCES_MOC_H}) # qt4_add_translation(TRANSLATIONS_QM ${TRANSLATIONS_TS}) -add_executable(${PROJECT_NAME} +add_executable(${PROJECT_NAME} WIN32 ${SOURCES_CPP} ${SOURCES_MOC_CPP} ${SOURCES_H} diff --git a/qcrossedit/CMakeLists.txt b/qcrossedit/CMakeLists.txt index a5bc831..564178c 100644 --- a/qcrossedit/CMakeLists.txt +++ b/qcrossedit/CMakeLists.txt @@ -24,7 +24,7 @@ qt4_wrap_ui(FORMS_H ${FORMS}) qt4_wrap_cpp(SOURCES_MOC_CPP ${SOURCES_MOC_H}) # qt4_add_translation(TRANSLATIONS_QM ${TRANSLATIONS_TS}) -add_executable(${PROJECT_NAME} +add_executable(${PROJECT_NAME} WIN32 ${SOURCES_CPP} ${SOURCES_MOC_CPP} ${SOURCES_H}