Skip to content

Commit e591e7e

Browse files
authored
Merge pull request #266 from compnerd/pwq
build: remove dead code
2 parents e57f277 + 1a65d6a commit e591e7e

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
@@ -119,11 +119,6 @@ target_include_directories(dispatch
119119
${CMAKE_CURRENT_SOURCE_DIR}
120120
${CMAKE_CURRENT_BINARY_DIR}
121121
${CMAKE_SOURCE_DIR}/private)
122-
if(WITH_PTHREAD_WORKQUEUES)
123-
target_include_directories(dispatch
124-
SYSTEM BEFORE PRIVATE
125-
"${WITH_PTHREAD_WORKQUEUES}/include")
126-
endif()
127122
if(WITH_BLOCKS_RUNTIME)
128123
target_include_directories(dispatch
129124
SYSTEM BEFORE PRIVATE
@@ -174,9 +169,6 @@ if(BSD_OVERLAY_FOUND)
174169
target_link_libraries(dispatch PRIVATE ${BSD_OVERLAY_LDFLAGS})
175170
endif()
176171
target_link_libraries(dispatch PRIVATE Threads::Threads)
177-
if(WITH_PTHREAD_WORKQUEUES)
178-
target_link_libraries(dispatch PRIVATE PTHREAD::workqueue)
179-
endif()
180172
if(WITH_BLOCKS_RUNTIME)
181173
target_link_libraries(dispatch PRIVATE BlocksRuntime)
182174
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)