[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/migration
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2008-05-15 21:50:32
Message-ID: 1210888232.345351.3286.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 808180 by staniek:

added description of missing libs


 M  +14 -9     CMakeLists.txt  


--- trunk/koffice/kexi/migration/CMakeLists.txt #808179:808180
@@ -4,25 +4,30 @@
 	${KDE4_INCLUDES}
 )
 
-INCLUDE (FindMySQL)
+macro_optional_find_package(MySQL)
+macro_log_feature(MYSQL_FOUND "MySQL library" "Kexi MySQL Migration driver requires \
MySQL library. The driver will not be built" "http://www.mysql.com" FALSE "")  IF \
                (MYSQL_FOUND)
-	add_subdirectory( mysql )
+	macro_optional_add_subdirectory( mysql )
 ENDIF (MYSQL_FOUND)
 
-INCLUDE (FindPostgreSQL)
-INCLUDE (FindPqxx)
+macro_optional_find_package(PostgreSQL)
+macro_log_feature(POSTGRESQL_FOUND "libpq library" "Kexi PostgreSQL Migration driver \
requires libpq library. The driver will not be built" \
"http://www.postgresql.org/docs/8.1/static/libpq.html" FALSE "") \
+macro_optional_find_package(Pqxx) +macro_log_feature(PQXX_FOUND "libpqxx library" \
"Kexi PostgreSQL Migration driver requires libpqxx library. The driver will not be \
built" "http://pqxx.org/development/libpqxx/" FALSE "")  IF (POSTGRESQL_FOUND AND \
                PQXX_FOUND)
-	add_subdirectory( pqxx )
+	macro_optional_add_subdirectory( pqxx )
 ENDIF (POSTGRESQL_FOUND AND PQXX_FOUND)
 
-INCLUDE(FindFreeTDS)
+macro_optional_find_package(FreeTDS)
+macro_log_feature(FREETDS_FOUND "FreeTDS library" "Kexi Sybase Migration driver \
requires FreeTDS library. The driver will not be built" "http://www.freetds.org" \
FALSE "")  IF(FREETDS_FOUND)
-	add_subdirectory( sybase )
+	macro_optional_add_subdirectory( sybase )
 ENDIF(FREETDS_FOUND)
 
-INCLUDE(FindXBase)
+macro_optional_find_package(XBase)
+macro_log_feature(XBase_FOUND "XBase library" "Kexi XBase Migration driver requires \
XBase library. The driver will not be built" "http://linux.techass.com/projects/xdb/" \
FALSE "")  IF(XBASE_FOUND)
-  add_subdirectory( xbase )
+  macro_optional_add_subdirectory( xbase )
 ENDIF(XBASE_FOUND)
 
 #todo add_subdirectory( mdb )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic