Missing linking libs

This commit is contained in:
Damien Dupuis 2011-03-10 11:27:21 +00:00
parent d89ebe3b4e
commit 2df0dd439b
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
setup_boost(regex filesystem) setup_boost(regex filesystem)
set(QT_USE_QTXML "true") set(QT_USE_QTXML "true")
find_package(LibXml2 REQUIRED)
find_package(Qt4 REQUIRED) find_package(Qt4 REQUIRED)
find_package(BISON REQUIRED) find_package(BISON REQUIRED)
find_package(FLEX REQUIRED) find_package(FLEX REQUIRED)

View File

@ -112,7 +112,7 @@
add_library ( viewer ${cpps} ${MOC_SRCS} ${RCC_SRCS} ${sources2} ${pycpps} ) add_library ( viewer ${cpps} ${MOC_SRCS} ${RCC_SRCS} ${sources2} ${pycpps} )
set_target_properties ( viewer PROPERTIES VERSION 1.0 SOVERSION 1 ) set_target_properties ( viewer PROPERTIES VERSION 1.0 SOVERSION 1 )
target_link_libraries ( viewer hurricane isobar ${CONFIGURATION_LIBRARY} ${Boost_LIBRARIES} ${QT_LIBRARIES} ) target_link_libraries ( viewer hurricane isobar ${CONFIGURATION_LIBRARY} ${LIBXML2_LIBRARIES} ${Boost_LIBRARIES} ${QT_LIBRARIES} )
add_library ( pyViewer MODULE ${pycpps} ) add_library ( pyViewer MODULE ${pycpps} )
target_link_libraries ( pyViewer viewer ) target_link_libraries ( pyViewer viewer )
set_target_properties ( pyViewer PROPERTIES set_target_properties ( pyViewer PROPERTIES