mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
ebfc4e6ad0
copy of commit 86587affafe77ef555f7c3839839de44f0f203f3 Author: Tian Xia <tianx@fb.com> Date: Tue Oct 4 10:01:52 2016 -0700 Allow filtering of show commands through admission control
22 lines
808 B
CMake
22 lines
808 B
CMake
IF (WITH_ROCKSDB_SE_STORAGE_ENGINE)
|
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/zlib
|
|
${CMAKE_SOURCE_DIR}/unittest/mytap
|
|
${CMAKE_SOURCE_DIR}/rocksdb/third-party/gtest-1.7.0/fused-src
|
|
)
|
|
LINK_LIBRARIES(mytap mysys dbug strings)
|
|
|
|
ADD_DEFINITIONS(-DSTANDALONE_UNITTEST)
|
|
|
|
MYSQL_ADD_EXECUTABLE(test_properties_collector
|
|
test_properties_collector.cc
|
|
)
|
|
TARGET_LINK_LIBRARIES(test_properties_collector mysqlserver)
|
|
|
|
# Necessary to make sure that we can use the jemalloc API calls.
|
|
GET_TARGET_PROPERTY(mysql_embedded LINK_FLAGS PREV_LINK_FLAGS)
|
|
IF(NOT PREV_LINK_FLAGS)
|
|
SET(PREV_LINK_FLAGS)
|
|
ENDIF()
|
|
SET_TARGET_PROPERTIES(test_properties_collector PROPERTIES LINK_FLAGS
|
|
"${PREV_LINK_FLAGS} ${WITH_MYSQLD_LDFLAGS}")
|
|
ENDIF()
|