> IF(WIN32) > SET(GUI_TYPE WIN32) > ENDIF(WIN32) > > ADD_EXECUTABLE( WatershedSegmentation ${SRCS} ${UI_SRCS} ${RCC_SRCS}) > Don't you have to use GUI_TYPE in ADD_EXECUTABLE or am I missing something? John