You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-641 This commit introduces GTest Suite into CS.
Binary NULL magic now consists of a series of BINARYEMPTYROW-s + BINARYNULL in the end. ByteStream now has hexbyte alias. Added ColumnCommand::getEmptyRowValue to support 16 byte EMPTY values.
This commit is contained in:
38
cmake/FindGTest.cmake
Normal file
38
cmake/FindGTest.cmake
Normal file
@ -0,0 +1,38 @@
|
||||
find_path(GTEST_ROOT_DIR
|
||||
NAMES include/gtest/gtest.h
|
||||
)
|
||||
|
||||
find_library(GTEST_LIBRARY
|
||||
NAMES gtest
|
||||
HINTS ${GTEST_ROOT_DIR}/lib
|
||||
)
|
||||
|
||||
find_library(GTESTMAIN_LIBRARY
|
||||
NAMES gtest_main
|
||||
HINTS ${GTEST_ROOT_DIR}/lib
|
||||
)
|
||||
|
||||
find_library(PTHREAD_LIBRARY
|
||||
NAMES pthread
|
||||
HINTS ${GTEST_ROOT_DIR}/lib
|
||||
)
|
||||
|
||||
|
||||
find_path(GTEST_INCLUDE_DIR
|
||||
NAMES gtest.h
|
||||
HINTS ${GTEST_ROOT_DIR}/include
|
||||
)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(GTest DEFAULT_MSG
|
||||
GTEST_LIBRARY
|
||||
GTESTMAIN_LIBRARY
|
||||
PTHREAD_LIBRARY
|
||||
GTEST_INCLUDE_DIR
|
||||
)
|
||||
|
||||
mark_as_advanced(
|
||||
GTEST_ROOT_DIR
|
||||
GTEST_LIBRARIES
|
||||
GTEST_INCLUDE_DIR
|
||||
)
|
Reference in New Issue
Block a user