aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorclick <none@none>2010-09-08 19:20:38 +0200
committerclick <none@none>2010-09-08 19:20:38 +0200
commit3b91ce95a64d5ed95b8a5ff3cd595c088df1eb75 (patch)
tree6be38071555710c4355104c2cd765c7b84987173 /CMakeLists.txt
parentf1159c2e99d76979718b650ec8789ef47a232292 (diff)
BuildSystem: Sort out issues with mysql-libraries under *nix (and should now also work properly for Win32)
- Rename the "EXTERNAL_MYSQL" flag to "USE_MYSQL_SOURCES" to reflect it's PROPER use (and ensure that it's ONLY used on Win32) - Remove a lingering "scripts" definition (the "scripts"-target is always included, but only from compiled parts (broke builds with -DSCRIPTS=0) --HG-- branch : trunk
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fab266c5848..3faf2e79ba5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,7 +47,7 @@ include(CheckPlatform)
find_package(PCHSupport)
find_package(ACE REQUIRED)
find_package(OpenSSL REQUIRED)
-if( EXTERNAL_MYSQL )
+if( NOT USE_MYSQL_SOURCES )
find_package(MySQL REQUIRED)
endif()