# HG changeset patch # User Teemu Piippo # Date 1410052554 -10800 # Node ID d820588bf4f16b6412e11b0cfa8bbca37f0e7e42 # Parent 69b8adc9a6695b0e8a86ca3f5a6bcc7613e80ed7 - fixed: missing WIN32 keyword in cmakelists caused the command prompt to show up when ldforge was executed diff -r 69b8adc9a669 -r d820588bf4f1 CMakeLists.txt --- a/CMakeLists.txt Sun Sep 07 04:11:55 2014 +0300 +++ b/CMakeLists.txt Sun Sep 07 04:15:54 2014 +0300 @@ -173,12 +173,14 @@ qt5_generate_moc (LDFORGE_MOC ${LDFORGE_HEADERS}) qt5_add_resources (LDFORGE_QRC ${LDFORGE_RESOURCES}) qt5_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) - add_executable (ldforge ${LDFORGE_SOURCES} ${LDFORGE_MOC} ${LDFORGE_QRC} ${LDFORGE_FORMS_HEADERS}) + add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_MOC} + ${LDFORGE_QRC} ${LDFORGE_FORMS_HEADERS}) else() qt4_wrap_cpp (LDFORGE_MOC ${LDFORGE_HEADERS}) qt4_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) qt4_add_resources (LDFORGE_RCC ${LDFORGE_RESOURCES}) - add_executable (ldforge ${LDFORGE_SOURCES} ${LDFORGE_RCC} ${LDFORGE_FORMS_HEADERS} ${LDFORGE_MOC}) + add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_RCC} + ${LDFORGE_FORMS_HEADERS} ${LDFORGE_MOC}) endif() if (USE_QT5)