ThirdPartyQT4.cmake 346 Bytes
Newer Older
Chris Cantwell's avatar
Chris Cantwell committed
1
# QT4 
2 3 4 5 6 7 8
OPTION(NEKTAR_USE_QT4
    "Use QT4 for graphical tools and utilities." OFF)

IF( NEKTAR_USE_QT4 )
    FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED)
    INCLUDE(${QT_USE_FILE})
    ADD_DEFINITIONS(${QT_DEFINITIONS})
9 10 11
    IF (QT4_FOUND)
        MESSAGE(STATUS "Found QT4: ${QT_INCLUDE_DIR}")
    ENDIF(QT4_FOUND)
12
ENDIF( NEKTAR_USE_QT4 )