Skip to content
Snippets Groups Projects
Commit 6c99ef53 authored by Julien Malik's avatar Julien Malik
Browse files

COMP: missing WRAP_QT->OTB_WRAP_QT

parent 390b86d2
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ IF(OTB_USE_GETTEXT)
MESSAGE(STATUS " GetText intl library : ${GETTEXT_INTL_LIBRARY}")
ENDIF(APPLE OR WIN32)
IF(BUILD_APPLICATIONS AND WRAP_QT)
IF(BUILD_APPLICATIONS AND OTB_WRAP_QT)
# Check bug 419 : conflict between gettext and Qt on some Ubuntu systems
SET(CMAKE_REQUIRED_INCLUDES "${QT_INCLUDES}")
SET(CMAKE_REQUIRED_LIBRARIES "${QT_LIBRARIES};${GETTEXT_LIBRARY}")
......@@ -53,7 +53,7 @@ IF(OTB_USE_GETTEXT)
"Opening OTB-applications auto generated in QT may generate a crash.\n"
"You might consider deactivating the support of Gettext in OTB with the OTB_USE_GETTEXT cmake option.\n")
ENDIF(NOT CHECK_QT_GETTEXT_CONFLICT)
ENDIF(BUILD_APPLICATIONS AND WRAP_QT)
ENDIF(BUILD_APPLICATIONS AND OTB_WRAP_QT)
ELSE(GETTEXT_FOUND)
SET(OTB_I18N 0)
......
MESSAGE(STATUS "Importing Qt...")
IF(WRAP_QT)
IF(OTB_WRAP_QT)
FIND_PACKAGE(Qt4 REQUIRED)
SET(QT_USE_QTXML 1)
INCLUDE(${QT_USE_FILE})
ENDIF(WRAP_QT)
ENDIF(OTB_WRAP_QT)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment