File tree Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ ENDIF()
114
114
INCLUDE (maintainer )
115
115
116
116
SET (MYSQL_MAINTAINER_MODE "OFF" CACHE STRING "MySQL maintainer-specific development environment. Options are: ON OFF AUTO." )
117
- MARK_AS_ADVANCED (MYSQL_MAINTAINER_MODE )
118
117
119
118
# Whether the maintainer mode compiler options should be enabled.
120
119
IF (CMAKE_C_COMPILER_ID MATCHES "GNU" )
@@ -168,13 +167,12 @@ IF(DISABLE_SHARED)
168
167
ENDIF ()
169
168
OPTION (ENABLED_PROFILING "Enable profiling" ON )
170
169
OPTION (CYBOZU "" OFF )
171
- OPTION (BACKUP_TEST "" OFF )
172
- OPTION (WITHOUT_SERVER OFF )
170
+ OPTION (WITHOUT_SERVER "Build only the client library and clients" OFF )
173
171
IF (UNIX )
174
172
OPTION (WITH_VALGRIND "Valgrind instrumentation" OFF )
175
173
ENDIF ()
176
174
OPTION (WITH_UNIT_TESTS "Compile MySQL with unit tests" ON )
177
- MARK_AS_ADVANCED (CYBOZU BACKUP_TEST WITHOUT_SERVER DISABLE_SHARED )
175
+ MARK_AS_ADVANCED (CYBOZU )
178
176
179
177
OPTION (NOT_FOR_DISTRIBUTION "Allow linking with GPLv2-incompatible system libraries. Only set it you never plan to distribute the resulting binaries" OFF )
180
178
@@ -272,7 +270,6 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb3")
272
270
273
271
OPTION (ENABLED_LOCAL_INFILE
274
272
"If we should should enable LOAD DATA LOCAL by default" ${IF_WIN} )
275
- MARK_AS_ADVANCED (ENABLED_LOCAL_INFILE )
276
273
277
274
OPTION (WITH_FAST_MUTEXES "Compile with fast mutexes" OFF )
278
275
MARK_AS_ADVANCED (WITH_FAST_MUTEXES )
Original file line number Diff line number Diff line change @@ -152,6 +152,8 @@ MACRO (MYSQL_CHECK_SSL)
152
152
FIND_LIBRARY (CRYPTO_LIBRARY
153
153
NAMES crypto libeay32
154
154
HINTS ${OPENSSL_ROOT_DIR} /lib )
155
+ MARK_AS_ADVANCED (CRYPTO_LIBRARY OPENSSL_LIBRARIES OPENSSL_ROOT_DIR
156
+ OPENSSL_INCLUDE_DIR )
155
157
IF (WITH_SSL_PATH )
156
158
LIST (REVERSE CMAKE_FIND_LIBRARY_SUFFIXES )
157
159
ENDIF ()
Original file line number Diff line number Diff line change 526
526
#cmakedefine ENABLED_LOCAL_INFILE 1
527
527
#cmakedefine ENABLED_PROFILING 1
528
528
#cmakedefine EXTRA_DEBUG 1
529
- #cmakedefine BACKUP_TEST 1
530
529
#cmakedefine CYBOZU 1
531
530
#cmakedefine USE_SYMDIR 1
532
531
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ ${Thrift_INCLUDE_DIR} # this may be set
12
12
# Verify that thrift linking library is found
13
13
SET (Thrift_LIB_PATHS ${Thrift_LIB_PATHS} /usr/local/lib /opt/local/lib /opt/lib )
14
14
FIND_LIBRARY (Thrift_LIBS NAMES thrift PATHS ${Thrift_LIB_PATHS} ${Thrift_LIB} )
15
+
16
+ MARK_AS_ADVANCED (Thrift_LIBS Thrift_INCLUDE_DIRS )
17
+
15
18
IF (EXISTS ${Thrift_LIBS} )
16
19
GET_FILENAME_COMPONENT (LINK_DIR ${Thrift_LIBS} PATH ABSOLUTE )
17
20
ELSE ()
Original file line number Diff line number Diff line change @@ -232,6 +232,8 @@ IF(CONNECT_WITH_ODBC)
232
232
DOC "Specify the ODBC driver manager library here."
233
233
)
234
234
235
+ mark_as_advanced (ODBC_LIBRARY ODBC_INCLUDE_DIR )
236
+
235
237
IF (ODBC_INCLUDE_DIR AND ODBC_LIBRARY )
236
238
set (CMAKE_REQUIRED_LIBRARIES ${ODBC_LIBRARY} )
237
239
set (CMAKE_REQUIRED_INCLUDES ${ODBC_INCLUDE_DIR} )
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ IF(UNIX)
32
32
SET (CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES} )
33
33
ENDIF ()
34
34
FIND_LIBRARY (AIO_LIBRARY aio )
35
+ MARK_AS_ADVANCED (AIO_LIBRARY )
35
36
IF (AIO_LIBRARY )
36
37
CHECK_LIBRARY_EXISTS (${AIO_LIBRARY} io_queue_init "" HAVE_LIBAIO )
37
38
IF (HAVE_LIBAIO AND HAVE_LIBAIO_H )
You can’t perform that action at this time.
0 commit comments