mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Bug#22224: Windows build depends on ib_config.h
This change has already been made to 5.1. CMakeLists.txt: Removed dependancy on ib_config.h Added conditionals for InnoDB and BDB directories. innobase/include/univ.i: ib_config.h is not required for Windows.
This commit is contained in:
parent
a9be99af83
commit
69aa7b40c2
2 changed files with 6 additions and 2 deletions
|
|
@ -29,8 +29,6 @@ IF (WITH_MYISAMMRG_STORAGE_ENGINE)
|
|||
ENDIF (WITH_MYISAMMRG_STORAGE_ENGINE)
|
||||
|
||||
IF(WITH_INNOBASE_STORAGE_ENGINE)
|
||||
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/innobase/ib_config.h.in
|
||||
${CMAKE_SOURCE_DIR}/innobase/ib_config.h @ONLY)
|
||||
ADD_DEFINITIONS(-D HAVE_INNOBASE_DB)
|
||||
ADD_DEFINITIONS(-D WITH_INNOBASE_STORAGE_ENGINE)
|
||||
SET (mysql_plugin_defs "${mysql_plugin_defs},builtin_innobase_plugin")
|
||||
|
|
@ -123,8 +121,12 @@ ADD_SUBDIRECTORY(heap)
|
|||
ADD_SUBDIRECTORY(myisam)
|
||||
ADD_SUBDIRECTORY(myisammrg)
|
||||
ADD_SUBDIRECTORY(client)
|
||||
IF(WITH_BERKELEY_STORAGE_ENGINE)
|
||||
ADD_SUBDIRECTORY(bdb)
|
||||
ENDIF(WITH_BERKELEY_STORAGE_ENGINE)
|
||||
IF(WITH_INNOBASE_STORAGE_ENGINE)
|
||||
ADD_SUBDIRECTORY(innobase)
|
||||
ENDIF(WITH_INNOBASE_STORAGE_ENGINE)
|
||||
ADD_SUBDIRECTORY(sql)
|
||||
ADD_SUBDIRECTORY(sql/examples)
|
||||
ADD_SUBDIRECTORY(server-tools/instance-manager)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue