1
1
diff --git a/CMakeLists.txt b/CMakeLists.txt
2
- index 711f64a..0ecb044 100644
2
+ index 45461eb..7c954fb 100644
3
3
--- a/CMakeLists.txt
4
4
+++ b/CMakeLists.txt
5
5
@@ -178,6 +178,8 @@ if(NOT ANDROID)
@@ -11,7 +11,7 @@ index 711f64a..0ecb044 100644
11
11
check_function_exists(_pthread_workqueue_init HAVE__PTHREAD_WORKQUEUE_INIT)
12
12
check_function_exists(getprogname HAVE_GETPROGNAME)
13
13
check_function_exists(mach_absolute_time HAVE_MACH_ABSOLUTE_TIME)
14
- @@ -330 ,7 +332 ,7 @@ add_subdirectory(dispatch)
14
+ @@ -331 ,7 +333 ,7 @@ add_subdirectory(dispatch)
15
15
add_subdirectory(man)
16
16
add_subdirectory(os)
17
17
add_subdirectory(private)
@@ -21,7 +21,7 @@ index 711f64a..0ecb044 100644
21
21
endif()
22
22
add_subdirectory(src)
23
23
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
24
- index 0ec6038..0faf979 100644
24
+ index ed5d2f4..257b02d 100644
25
25
--- a/tests/CMakeLists.txt
26
26
+++ b/tests/CMakeLists.txt
27
27
@@ -80,9 +80,6 @@ function(add_unit_test name)
@@ -31,6 +31,6 @@ index 0ec6038..0faf979 100644
31
31
- target_include_directories(${name}
32
32
- SYSTEM BEFORE PRIVATE
33
33
- "${BlocksRuntime_INCLUDE_DIR}")
34
- if("${CMAKE_C_SIMULATE_ID }" STREQUAL "MSVC")
34
+ if("${CMAKE_C_COMPILER_FRONTEND_VARIANT }" STREQUAL "MSVC")
35
35
target_compile_options(${name} PRIVATE -Xclang -fblocks)
36
36
target_compile_options(${name} PRIVATE /W3 -Wno-deprecated-declarations)
0 commit comments