mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Move WITH_UNITTESTS option up - otherwise it skips plugin unittests
This commit is contained in:
parent
9632ea7475
commit
aa134fdf99
1 changed files with 2 additions and 5 deletions
|
@ -86,10 +86,6 @@ IF(DEFINED ENV{CPPFLAGS})
|
|||
ADD_DEFINITIONS($ENV{CPPFLAGS})
|
||||
ENDIF()
|
||||
|
||||
IF(CYGWIN)
|
||||
SET(WIN32 0)
|
||||
ENDIF()
|
||||
|
||||
# Add macros
|
||||
INCLUDE(character_sets)
|
||||
INCLUDE(zlib)
|
||||
|
@ -113,6 +109,7 @@ OPTION(ENABLED_PROFILING "Enable profiling" ON)
|
|||
OPTION(CYBOZU "" OFF)
|
||||
OPTION(BACKUP_TEST "" OFF)
|
||||
OPTION(WITHOUT_SERVER OFF)
|
||||
OPTION (WITH_UNIT_TESTS "Compile MySQL with unit tests" ON)
|
||||
MARK_AS_ADVANCED(CYBOZU BACKUP_TEST WITHOUT_SERVER DISABLE_SHARED)
|
||||
|
||||
|
||||
|
@ -223,7 +220,7 @@ ADD_SUBDIRECTORY(regex)
|
|||
ADD_SUBDIRECTORY(mysys)
|
||||
ADD_SUBDIRECTORY(libmysql)
|
||||
|
||||
OPTION (WITH_UNIT_TESTS "Compile MySQL with unit tests" ON)
|
||||
|
||||
IF(WITH_UNIT_TESTS)
|
||||
ENABLE_TESTING()
|
||||
ENDIF()
|
||||
|
|
Loading…
Reference in a new issue