Skip to content

Commit b62136d

Browse files
committed
build: hoist the BlocksRuntime add_subdirectory
Move the subdirectory recursion for the BlocksRuntime to the top level as this is a separate target entity.
1 parent 96ac07d commit b62136d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ add_subdirectory(dispatch)
329329
add_subdirectory(man)
330330
add_subdirectory(os)
331331
add_subdirectory(private)
332+
if(NOT APPLE)
333+
add_subdirectory(src/BlocksRuntime)
334+
endif()
332335
add_subdirectory(src)
333336
if(BUILD_TESTING)
334337
add_subdirectory(tests)

src/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11

2-
if(NOT APPLE)
3-
add_subdirectory(BlocksRuntime)
4-
endif()
5-
62
add_library(dispatch
73
allocator.c
84
apply.c

0 commit comments

Comments
 (0)