Changeset - e64853b91ea1
[Not reviewed]
0 2 0
Chel Sea (chain) - 13 years ago 2012-11-12 22:50:44
chain@rpgfiction.net
Make SMSTools3 plugin optional (by using ENABLE_SMSTOOLS3)
2 files changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
CMakeLists.txt
Show inline comments
 
@@ -19,12 +19,13 @@ option(ENABLE_SQLITE3 "Build with SQLite3 support" ON)
 
option(ENABLE_MYSQL "Build with MySQL support" ON)
 
option(ENABLE_PQXX "Build with Postgres supoort" ON)
 

	
 
#option(ENABLE_FROTZ "Build Frotz plugin" ON)
 
option(ENABLE_IRC "Build IRC plugin" ON)
 
option(ENABLE_PURPLE "Build Libpurple plugin" ON)
 
option(ENABLE_SMSTOOLS3 "Build SMSTools3 plugin" ON)
 
option(ENABLE_SKYPE "Build Skype plugin" ON)
 
option(ENABLE_TWITTER "Build Twitter plugin" ON)
 
option(ENABLE_YAHOO2 "Build Libyahoo2 plugin" ON)
 

	
 
option(ENABLE_DOCS "Build Docs" ON)
 
option(ENABLE_LOG "Build with logging using Log4cxx" ON)
 
@@ -358,13 +359,13 @@ if (PROTOBUF_FOUND)
 

	
 
	if (NOT WIN32)
 
		message("Frotz plugin      : yes")
 
		if(ENABLE_SMSTOOLS3)
 
			message("SMSTools3 plugin  : yes")
 
		else()
 
			message("SMSTools3 plugin  : no")
 
			message("SMSTools3 plugin  : no (user disabled)")
 
		endif()
 
		if(${LIBDBUSGLIB_FOUND})
 
			message("Skype plugin      : yes")
 
			include_directories(${LIBDBUSGLIB_INCLUDE_DIRS})
 
		else()
 
			if(ENABLE_SKYPE)
backends/CMakeLists.txt
Show inline comments
 
@@ -10,13 +10,15 @@ if (PROTOBUF_FOUND)
 
	ADD_SUBDIRECTORY(swiften)
 

	
 
	ADD_SUBDIRECTORY(template)
 

	
 

	
 
if (NOT WIN32)
 
	ADD_SUBDIRECTORY(smstools3)
 
	if(ENABLE_SMSTOOLS3)
 
		ADD_SUBDIRECTORY(smstools3)
 
	endif()
 
	ADD_SUBDIRECTORY(frotz)
 
 	if(YAHOO2_FOUND)
 
		ADD_SUBDIRECTORY(libyahoo2)
 
 	endif()
 
	if(ENABLE_TWITTER)
 
		ADD_SUBDIRECTORY(twitter)
0 comments (0 inline, 0 general)