From 220c20729441931d26626f4370bbb613a9185e9e Mon Sep 17 00:00:00 2001 From: Xanadu Date: Tue, 7 Sep 2010 01:26:57 +0200 Subject: BuildSystem/Windows: * Added 5.1.50 (GA) MySQL client sources for crosscompiling (or lazy) windows people. * Added an option to autosearch for your own installed MySQL as before. Note that default setting is to use the internal MySQL. * You can now build 32-bit even if your MySQL is x64 and vice versa. * Recommended MySQL server version for use with provided MySQL client sources is 5.1.x. * If your server version is different, let CMake autofind and use it instead (check EXTERNAL_MYSQL option) --HG-- branch : trunk --- cmake/showoptions.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cmake/showoptions.cmake') diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake index 00b1921cc38..41fecc052fe 100644 --- a/cmake/showoptions.cmake +++ b/cmake/showoptions.cmake @@ -63,6 +63,15 @@ else() message("* Use SFMT for RNG : No (default)") endif() +if( WIN32 ) + if( EXTERNAL_MYSQL ) + message("* Use external MySQL : Yes") + add_definitions(-DUSE_SFMT_FOR_RNG) + else() + message("* Use external MySQL : No (default)") + endif() +endif( WIN32 ) + if( WITH_WARNINGS ) message("* Show all warnings : Yes") else() -- cgit v1.2.3