diff --git a/backends/libircclient-qt/CMakeLists.txt b/backends/libircclient-qt/CMakeLists.txt index eed9a3ca3eabf1f65a500a07f34bffdc48f2cf44..9ac78875fe66b3e8f23dc8a37bf75133287281a1 100644 --- a/backends/libircclient-qt/CMakeLists.txt +++ b/backends/libircclient-qt/CMakeLists.txt @@ -4,7 +4,7 @@ FILE(GLOB HEADERS *.h) QT4_WRAP_CPP(SRC ${HEADERS}) ADD_EXECUTABLE(spectrum_libircclient-qt_backend ${SRC}) -target_link_libraries(spectrum_libircclient-qt_backend ${IRC_LIBRARY} ${QT_LIBRARIES} transport) +target_link_libraries(spectrum_libircclient-qt_backend ${IRC_LIBRARY} ${QT_LIBRARIES} transport -lpthread -lssl -lidn -lxml2) INSTALL(TARGETS spectrum_libircclient-qt_backend RUNTIME DESTINATION bin) diff --git a/backends/libpurple/CMakeLists.txt b/backends/libpurple/CMakeLists.txt index bab08739941d9b810edf927d1bd0cfcf3231d586..7c653ff7d3f05e4d3dc4de276c37560c1e531289 100644 --- a/backends/libpurple/CMakeLists.txt +++ b/backends/libpurple/CMakeLists.txt @@ -3,7 +3,7 @@ FILE(GLOB SRC *.cpp) ADD_EXECUTABLE(spectrum_libpurple_backend ${SRC}) -target_link_libraries(spectrum_libpurple_backend ${PURPLE_LIBRARY} ${GLIB2_LIBRARIES} ${EVENT_LIBRARIES} transport) +target_link_libraries(spectrum_libpurple_backend ${PURPLE_LIBRARY} ${GLIB2_LIBRARIES} ${EVENT_LIBRARIES} transport -lpthread -lssl -lidn -lxml2) INSTALL(TARGETS spectrum_libpurple_backend RUNTIME DESTINATION bin) diff --git a/src/config.cpp b/src/config.cpp index 42c690ebf38be5949eeb36c2e37366f3bb509981..2ac7836b783396da158bf13d8cb5cf97f8b6dc04 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -55,8 +55,8 @@ bool Config::load(const std::string &configfile, boost::program_options::options ("database.prefix", value()->default_value(""), "Prefix of tables in database") ; -// store(parse_config_file(ifs, opts), m_variables); -// notify(m_variables); + store(parse_config_file(ifs, opts), m_variables); + notify(m_variables); m_file = configfile;