Add WIN32 to cmake targets
This commit is contained in:
parent
0e3c60e8a1
commit
809728e40c
@ -35,7 +35,7 @@ qt4_wrap_ui(FORMS_H ${FORMS})
|
|||||||
qt4_wrap_cpp(SOURCES_MOC_CPP ${SOURCES_MOC_H})
|
qt4_wrap_cpp(SOURCES_MOC_CPP ${SOURCES_MOC_H})
|
||||||
# qt4_add_translation(TRANSLATIONS_QM ${TRANSLATIONS_TS})
|
# qt4_add_translation(TRANSLATIONS_QM ${TRANSLATIONS_TS})
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME}
|
add_executable(${PROJECT_NAME} WIN32
|
||||||
${SOURCES_CPP}
|
${SOURCES_CPP}
|
||||||
${SOURCES_MOC_CPP}
|
${SOURCES_MOC_CPP}
|
||||||
${SOURCES_H}
|
${SOURCES_H}
|
||||||
|
@ -24,7 +24,7 @@ qt4_wrap_ui(FORMS_H ${FORMS})
|
|||||||
qt4_wrap_cpp(SOURCES_MOC_CPP ${SOURCES_MOC_H})
|
qt4_wrap_cpp(SOURCES_MOC_CPP ${SOURCES_MOC_H})
|
||||||
# qt4_add_translation(TRANSLATIONS_QM ${TRANSLATIONS_TS})
|
# qt4_add_translation(TRANSLATIONS_QM ${TRANSLATIONS_TS})
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME}
|
add_executable(${PROJECT_NAME} WIN32
|
||||||
${SOURCES_CPP}
|
${SOURCES_CPP}
|
||||||
${SOURCES_MOC_CPP}
|
${SOURCES_MOC_CPP}
|
||||||
${SOURCES_H}
|
${SOURCES_H}
|
||||||
|
Loading…
Reference in New Issue
Block a user