From 902f6a14e6970fe7aed8aeff758062d2778e5d7c Mon Sep 17 00:00:00 2001 From: Kudlaty Date: Mon, 14 Sep 2009 04:31:44 +0200 Subject: [PATCH] Set DO_MYSQL = 0 when we compile with PGSQL --HG-- branch : trunk --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e553cf9676..4935404cc45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)