COMP: Fix build on Windows.
This commit is contained in:
parent
8079907714
commit
5927a261d0
|
@ -3,15 +3,20 @@ SET(QT_MIN_VERSION "4.3.0")
|
||||||
FIND_PACKAGE(Qt4 REQUIRED)
|
FIND_PACKAGE(Qt4 REQUIRED)
|
||||||
|
|
||||||
IF(NOT QT4_FOUND)
|
IF(NOT QT4_FOUND)
|
||||||
MESSAGE(SEND_ERROR "Failed to find Qt4.")
|
MESSAGE(SEND_ERROR "Failed to find Qt 4.3 or greater.")
|
||||||
ELSE(NOT QT4_FOUND)
|
ELSE(NOT QT4_FOUND)
|
||||||
|
|
||||||
|
SET(QT_USE_QTMAIN TRUE)
|
||||||
INCLUDE(${QT_USE_FILE})
|
INCLUDE(${QT_USE_FILE})
|
||||||
|
|
||||||
SET(SRCS
|
SET(SRCS
|
||||||
CMakeSetup.cxx
|
CMakeSetup.cxx
|
||||||
CMakeSetupDialog.cxx
|
CMakeSetupDialog.cxx
|
||||||
|
CMakeSetupDialog.h
|
||||||
QCMake.cxx
|
QCMake.cxx
|
||||||
|
QCMake.h
|
||||||
QCMakeCacheView.cxx
|
QCMakeCacheView.cxx
|
||||||
|
QCMakeCacheView.h
|
||||||
)
|
)
|
||||||
|
|
||||||
QT4_WRAP_UI(UI_SRCS
|
QT4_WRAP_UI(UI_SRCS
|
||||||
|
|
Loading…
Reference in New Issue