summaryrefslogtreecommitdiff
path: root/gtest/CMakeLists.txt
diff options
context:
space:
mode:
author彭宣正 <[email protected]>2021-07-12 11:09:53 +0800
committer彭宣正 <[email protected]>2021-07-12 11:09:53 +0800
commit0c27c779a62d2abed5e56bbe2cbd6c1cbdc652e7 (patch)
treeea68e544aa76d8b99aa733db8c6edda6af7dcf21 /gtest/CMakeLists.txt
parentc7c6f5b25f02f2532e913182ecad864da59144fe (diff)
🐞 fix(src, gtest, example): 解决hos_delete_fd引起的多线程安全问题v2.0.2
Diffstat (limited to 'gtest/CMakeLists.txt')
-rw-r--r--gtest/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtest/CMakeLists.txt b/gtest/CMakeLists.txt
index 3dabf565..db8c5f56 100644
--- a/gtest/CMakeLists.txt
+++ b/gtest/CMakeLists.txt
@@ -13,7 +13,7 @@ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-cove
add_definitions(-g -W -Wall -std=c++11)
#add_executable(gtest_hos_client gtest_hos_init_instance.cpp gtest_hos_get_instance.cpp gtest_hos_close_fd.cpp gtest_hos_open_fd.cpp)
-#add_executable(gtest_hos_client CheckHosClient.cpp gtest_hos_write.cpp)
-add_executable(gtest_hos_client ${SRCS})
+add_executable(gtest_hos_client CheckHosClient.cpp gtest_hos_write.cpp)
+#add_executable(gtest_hos_client ${SRCS})
target_link_libraries(gtest_hos_client hos-client-cpp gtest gtest_main pthread)