[td-255]update cmake files.
This commit is contained in:
parent
b9a321e8c5
commit
b4154d8ad6
|
@ -6,7 +6,7 @@ INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/sync/inc)
|
||||||
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/rmonotonic/inc)
|
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/rmonotonic/inc)
|
||||||
|
|
||||||
AUX_SOURCE_DIRECTORY(src SRC)
|
AUX_SOURCE_DIRECTORY(src SRC)
|
||||||
ADD_LIBRARY(tutil ${SRC} tests/arrayTest.cpp)
|
ADD_LIBRARY(tutil ${SRC})
|
||||||
TARGET_LINK_LIBRARIES(tutil pthread os lz4 z rmonotonic)
|
TARGET_LINK_LIBRARIES(tutil pthread os lz4 z rmonotonic)
|
||||||
|
|
||||||
IF (TD_LINUX)
|
IF (TD_LINUX)
|
||||||
|
|
|
@ -46,7 +46,5 @@ static void remove_batch_test() {
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
TEST(arrayTest, array_list_test) {
|
TEST(arrayTest, array_list_test) {
|
||||||
|
|
||||||
remove_batch_test();
|
remove_batch_test();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue