Permalink
Browse files

Remove Qt dependency from libchemkit

This removes the Qt dependency from the libchemkit
library.
  • Loading branch information...
kylelutz committed Aug 6, 2011
1 parent 37b26b0 commit 5bea5cd84a07e144c3fb8ce3127cc0cea9ffb373
Showing with 2 additions and 7 deletions.
  1. +2 −7 src/chemkit/CMakeLists.txt
@@ -10,10 +10,6 @@ endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_SOURCE_DIR}/config.h)
-find_package(Qt4 4.6 COMPONENTS QtCore REQUIRED)
-set(QT_DONT_USE_QTGUI TRUE)
-include(${QT_USE_FILE})
-
find_package(Boost COMPONENTS system filesystem REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
@@ -141,11 +137,10 @@ set(SOURCES
add_definitions(
-DCHEMKIT_LIBRARY
- -DQT_NO_KEYWORDS
)
-add_chemkit_library(chemkit ${SOURCES} ${MOC_SOURCES})
-target_link_libraries(chemkit ${Boost_LIBRARIES} ${QT_LIBRARIES})
+add_chemkit_library(chemkit ${SOURCES})
+target_link_libraries(chemkit ${Boost_LIBRARIES})
# install header files
install(FILES ${HEADERS} DESTINATION include/chemkit/)

0 comments on commit 5bea5cd

Please sign in to comment.