aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
diff options
context:
space:
mode:
authorXanadu <none@none>2010-09-07 01:26:57 +0200
committerXanadu <none@none>2010-09-07 01:26:57 +0200
commit220c20729441931d26626f4370bbb613a9185e9e (patch)
treed93174fdc1f9e2e556aa4ef035657023063f08b2 /cmake/showoptions.cmake
parentda5569bee68be1dcd416cdbca7584f9ef5e739ee (diff)
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
Diffstat (limited to 'cmake/showoptions.cmake')
-rw-r--r--cmake/showoptions.cmake9
1 files changed, 9 insertions, 0 deletions
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()