Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,6 @@ target_include_directories(dispatch
${CMAKE_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/private)
if(WITH_PTHREAD_WORKQUEUES)
target_include_directories(dispatch
SYSTEM BEFORE PRIVATE
"${WITH_PTHREAD_WORKQUEUES}/include")
endif()
if(WITH_BLOCKS_RUNTIME)
target_include_directories(dispatch
SYSTEM BEFORE PRIVATE
Expand Down Expand Up @@ -164,9 +159,6 @@ if(BSD_OVERLAY_FOUND)
target_link_libraries(dispatch PRIVATE ${BSD_OVERLAY_LDFLAGS})
endif()
target_link_libraries(dispatch PRIVATE Threads::Threads)
if(WITH_PTHREAD_WORKQUEUES)
target_link_libraries(dispatch PRIVATE PTHREAD::workqueue)
endif()
if(WITH_BLOCKS_RUNTIME)
target_link_libraries(dispatch PRIVATE BlocksRuntime)
endif()
Expand Down
8 changes: 0 additions & 8 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ function(add_unit_test name)
SYSTEM BEFORE PRIVATE
"${WITH_BLOCKS_RUNTIME}")
endif()
if(WITH_PTHREAD_WORKQUEUES)
target_include_directories(${name}
SYSTEM BEFORE PRIVATE
"${WITH_PTHREAD_WORKQUEUES}/include")
endif()
if(BSD_OVERLAY_FOUND)
target_compile_options(${name}
PRIVATE
Expand All @@ -74,9 +69,6 @@ function(add_unit_test name)
# TODO(compnerd) make this portable
target_compile_options(${name} PRIVATE -Wall -Wno-deprecated-declarations)
target_link_libraries(${name} PRIVATE dispatch Threads::Threads)
if(WITH_PTHREAD_WORKQUEUES)
target_link_libraries(${name} PRIVATE PTHREAD::workqueue)
endif()
if(WITH_BLOCKS_RUNTIME)
target_link_libraries(${name} PRIVATE BlocksRuntime)
endif()
Expand Down