find_package(Qt4 4.6 COMPONENTS QtCore REQUIRED)
set(QT_DONT_USE_QTGUI TRUE)
include(${QT_USE_FILE})

find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

set(SOURCES
  wienerindexdescriptor.cpp
  wienerindexplugin.cpp
)

add_chemkit_plugin(wienerindex ${SOURCES})
target_link_libraries(wienerindex chemkit ${QT_LIBRARIES})

find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

set(SOURCES
  wienerindexdescriptor.cpp
  wienerindexplugin.cpp
)

add_chemkit_plugin(wienerindex ${SOURCES})
target_link_libraries(wienerindex chemkit)

Remove Qt dependency from the wienerindex plugin
Remove Qt dependency from the wienerindex plugin

This removes the dependence on QtCore from the wienerindex
plugin.
