Set DO_MYSQL = 0 when we compile with PGSQL

--HG--
branch : trunk
This commit is contained in:
Kudlaty
2009-09-14 04:31:44 +02:00
parent 87a1679b4d
commit 902f6a14e6

View File

@@ -66,6 +66,7 @@ FIND_LIBRARY(SSLLIB NAMES ssl DOC "SSL library")
FIND_LIBRARY(ZLIB z "Zlib library")
IF(DO_POSTGRESQL)
SET(DO_MYSQL 0)
MESSAGE("* With PostgreSQL")
FIND_PostgreSQL()
ADD_DEFINITIONS(-DDO_POSTGRESQL)