CMake - Build GUI also in Cygwin if QT4 is found.
This commit is contained in:
parent
e12d115e9a
commit
40951e1618
|
@ -26,10 +26,5 @@ ELSE (MSVC_IDE)
|
|||
ADD_SUBDIRECTORY(test EXCLUDE_FROM_ALL)
|
||||
ENDIF (MSVC_IDE)
|
||||
|
||||
# Don't build GUI for Cygwin (most installations don't have QT)
|
||||
IF (NOT CYGWIN)
|
||||
ADD_SUBDIRECTORY(gui)
|
||||
ENDIF (NOT CYGWIN)
|
||||
|
||||
ADD_SUBDIRECTORY(gui)
|
||||
ADD_SUBDIRECTORY(man)
|
||||
|
||||
|
|
|
@ -133,4 +133,6 @@ ADD_EXECUTABLE(gui WIN32 ${CHECKGUI_SRCS} ${CHECK_MOC_SRCS} ${CHECK_HEADERS}
|
|||
${CHECK_UIS_H} ${CHECK_RCC_SRCS})
|
||||
TARGET_LINK_LIBRARIES(gui ${CHECK_LIBS} ${QT_LIBRARIES})
|
||||
|
||||
ELSE(QT4_FOUND)
|
||||
message("GUI not built since QT4 not found.")
|
||||
ENDIF(QT4_FOUND)
|
||||
|
|
Loading…
Reference in New Issue