Skip to content

Commit 1a65d6a

Browse files
committed
build: remove dead code
Remove the supporting code for WITH_PTHREAD_WORKQUEUES which was removed previously. NFC.
1 parent 1d25040 commit 1a65d6a

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@ target_include_directories(dispatch
109109
${CMAKE_SOURCE_DIR}
110110
${CMAKE_CURRENT_SOURCE_DIR}
111111
${CMAKE_SOURCE_DIR}/private)
112-
if(WITH_PTHREAD_WORKQUEUES)
113-
target_include_directories(dispatch
114-
SYSTEM BEFORE PRIVATE
115-
"${WITH_PTHREAD_WORKQUEUES}/include")
116-
endif()
117112
if(WITH_BLOCKS_RUNTIME)
118113
target_include_directories(dispatch
119114
SYSTEM BEFORE PRIVATE
@@ -164,9 +159,6 @@ if(BSD_OVERLAY_FOUND)
164159
target_link_libraries(dispatch PRIVATE ${BSD_OVERLAY_LDFLAGS})
165160
endif()
166161
target_link_libraries(dispatch PRIVATE Threads::Threads)
167-
if(WITH_PTHREAD_WORKQUEUES)
168-
target_link_libraries(dispatch PRIVATE PTHREAD::workqueue)
169-
endif()
170162
if(WITH_BLOCKS_RUNTIME)
171163
target_link_libraries(dispatch PRIVATE BlocksRuntime)
172164
endif()

tests/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ function(add_unit_test name)
6060
SYSTEM BEFORE PRIVATE
6161
"${WITH_BLOCKS_RUNTIME}")
6262
endif()
63-
if(WITH_PTHREAD_WORKQUEUES)
64-
target_include_directories(${name}
65-
SYSTEM BEFORE PRIVATE
66-
"${WITH_PTHREAD_WORKQUEUES}/include")
67-
endif()
6863
if(BSD_OVERLAY_FOUND)
6964
target_compile_options(${name}
7065
PRIVATE
@@ -74,9 +69,6 @@ function(add_unit_test name)
7469
# TODO(compnerd) make this portable
7570
target_compile_options(${name} PRIVATE -Wall -Wno-deprecated-declarations)
7671
target_link_libraries(${name} PRIVATE dispatch Threads::Threads)
77-
if(WITH_PTHREAD_WORKQUEUES)
78-
target_link_libraries(${name} PRIVATE PTHREAD::workqueue)
79-
endif()
8072
if(WITH_BLOCKS_RUNTIME)
8173
target_link_libraries(${name} PRIVATE BlocksRuntime)
8274
endif()

0 commit comments

Comments
 (0)