Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03d47a9

Browse files
remove pthread, remove include_directories()
include_directories("${THREAD_POOL_CPP_INC_DIR}"): provided in top cmake
1 parent 379432f commit 03d47a9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
#tests
22

3-
include_directories("${THREAD_POOL_CPP_INC_DIR}")
4-
include_directories("${CMAKE_CURRENT_SOURCE_DIR}")
5-
63
enable_testing()
74

85
add_executable(fixed_function_test fixed_function.t.cpp)
96
target_link_libraries(fixed_function_test)
107
add_test(NAME FixedFunctionTest COMMAND fixed_function_test)
118

129
add_executable(thread_pool_test thread_pool.t.cpp thread_pool2.t.cpp)
13-
target_link_libraries(thread_pool_test pthread)
10+
target_link_libraries(thread_pool_test)
1411
add_test(NAME ThreadPoolTest COMMAND thread_pool_test)

0 commit comments

Comments
 (0)