Changeset - 269240db77d3
[Not reviewed]
0 3 0
HanzZ - 14 years ago 2011-06-16 23:57:05
hanzz.k@gmail.com
Don't link against swiften-config stuff
3 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
backends/libircclient-qt/CMakeLists.txt
Show inline comments
 
cmake_minimum_required(VERSION 2.6)
 
FILE(GLOB SRC *.cpp)
 
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)
 
backends/libpurple/CMakeLists.txt
Show inline comments
 
cmake_minimum_required(VERSION 2.6)
 
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)
 
src/config.cpp
Show inline comments
 
@@ -52,14 +52,14 @@ bool Config::load(const std::string &configfile, boost::program_options::options
 
		("registration.encoding", value<std::string>()->default_value("en"), "Default encoding in registration form")
 
		("database.type", value<std::string>()->default_value("none"), "Database type.")
 
		("database.database", value<std::string>()->default_value(""), "Database used to store data")
 
		("database.prefix", value<std::string>()->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;
 

	
 
	onConfigReloaded();
 

	
 
	return true;
0 comments (0 inline, 0 general)