summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-10-03 23:24:13 +0400
committerSergey Petrunya <psergey@askmonty.org>2009-10-03 23:24:13 +0400
commitd1ad1bdc0fb4f1150c1363013e2ab4700c0bf570 (patch)
treee6a92d7abb6736409db94511fc23e498e536b2a3 /libmysqld
parent37c6613e15157fd6a07166b15389d4d0483a38a7 (diff)
downloadmariadb-git-d1ad1bdc0fb4f1150c1363013e2ab4700c0bf570.tar.gz
Fix embedded build on Windows: contents of storage/xtradb think they are
'innobase'.
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index 1ef8f21f752..f69f6d26c6d 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -88,10 +88,10 @@ FOREACH(rpath ${VIO_SOURCES})
ENDFOREACH(rpath)
FOREACH (ENGINE_LIB ${MYSQLD_STATIC_ENGINE_LIBS})
- INCLUDE(${CMAKE_SOURCE_DIR}/storage/${ENGINE_LIB}/CMakeLists.txt)
+ INCLUDE(${CMAKE_SOURCE_DIR}/storage/${plugin_dir_${ENGINE_LIB}}/CMakeLists.txt)
STRING(TOUPPER ${ENGINE_LIB} ENGINE_LIB_UPPER)
FOREACH(rpath ${${ENGINE_LIB_UPPER}_SOURCES})
- SET(LIB_SOURCES ${LIB_SOURCES} ${CMAKE_SOURCE_DIR}/storage/${ENGINE_LIB}/${rpath})
+ SET(LIB_SOURCES ${LIB_SOURCES} ${CMAKE_SOURCE_DIR}/storage/${plugin_dir_${ENGINE_LIB}}/${rpath})
ENDFOREACH(rpath)
ENDFOREACH(ENGINE_LIB)