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
  rotatablebondsdescriptor.cpp
  rotatablebondsplugin.cpp
)

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

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

set(SOURCES
  rotatablebondsdescriptor.cpp
  rotatablebondsplugin.cpp
)

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

Remove Qt dependency from the rotatablebonds plugin
Remove Qt dependency from the rotatablebonds plugin

This removes the dependence on QtCore from the rotatablebonds
plugin.
