#-----------------------------------------------------------------------------
IF(USE_QT4)
- IF(NOT Qt4_FOUND)
+ IF(NOT QT_FOUND)
FIND_PACKAGE(Qt4 REQUIRED)
- INCLUDE(${QT_USE_FILE})
- CREA_DEFINE( USE_QT )
+ IF(QT_FOUND)
+ MESSAGE ( STATUS "=======================================")
+ MESSAGE ( STATUS "Looking for QT4... found")
+ MESSAGE ( STATUS "* Inc Dir = ${QT_INCLUDE_DIR}")
+ MESSAGE ( STATUS "* Version = ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")
+ INCLUDE(${QT_USE_FILE})
+ CREA_DEFINE( USE_QT )
# SET(QT_LIBRARIES
# ${QT_LIBRARIES}
# )
# MARK_AS_ADVANCED(Qt4_DIR)
- ENDIF(NOT Qt4_FOUND)
+ ENDIF(QT_FOUND)
+ ENDIF(NOT QT_FOUND)
ENDIF(USE_QT4)
#-----------------------------------------------------------------------------