CMakeLists.txt 558 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if(APPLICATION_ACTIONSTATEMACHINE)
	# specific section in order to use the XML module of Qt
     set (QT_USE_QTWEBKIT ON)
     set (QT_USE_QTXML ON)
     set (QT_USE_QTXMLPATTERNS ON)
    find_package(Qt4 REQUIRED)
    if(QT_USE_FILE)
	include(${QT_USE_FILE})
    else(QT_USE_FILE)
	set(QT_LIBRARIES ${QT_QT_LIBRARY})
    endif(QT_USE_FILE)
    # warning: redefines CAMITK_LIBRARIES
    set(CAMITK_LIBRARIES ${CAMITK_LIBRARIES} ${QT_LIBRARIES})
endif()

# use the application extension macro
17
application_extension(DEFAULT
18
19
20
21
LIBRARIES QtXml4 QtXmlPatterns4
)