File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 13
13
##===----------------------------------------------------------------------===##
14
14
15
15
add_subdirectory (_FoundationCShims)
16
- add_subdirectory (FoundationMacros)
16
+
17
+ # Disable the macro build on Windows until we can correctly build it for the host architecture
18
+ if (NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
19
+ add_subdirectory (FoundationMacros)
20
+ endif ()
21
+
17
22
add_subdirectory (FoundationEssentials)
18
23
add_subdirectory (FoundationInternationalization)
Original file line number Diff line number Diff line change @@ -48,9 +48,11 @@ add_subdirectory(String)
48
48
add_subdirectory (TimeZone)
49
49
add_subdirectory (URL)
50
50
51
- # Depend on FoundationMacros
52
- add_dependencies (FoundationEssentials FoundationMacros)
53
- target_compile_options (FoundationEssentials PRIVATE -plugin-path ${CMAKE_BINARY_DIR} /lib)
51
+ if (NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
52
+ # Depend on FoundationMacros
53
+ add_dependencies (FoundationEssentials FoundationMacros)
54
+ target_compile_options (FoundationEssentials PRIVATE -plugin-path ${CMAKE_BINARY_DIR} /lib)
55
+ endif ()
54
56
55
57
if (CMAKE_SYSTEM_NAME STREQUAL Linux OR CMAKE_SYSTEM_NAME STREQUAL Android)
56
58
target_compile_options (FoundationEssentials PRIVATE
You can’t perform that action at this time.
0 commit comments