File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -252,9 +252,8 @@ macro(configure_sdk_unix name architectures)
252
252
"${SWIFT_ANDROID_NDK_PATH} /toolchains/${SWIFT_SDK_ANDROID_ARCH_${arch} _NDK_TRIPLE}-${SWIFT_ANDROID_NDK_GCC_VERSION} /prebuilt/${_swift_android_prebuilt_build} " )
253
253
endif ()
254
254
else ()
255
- if (NOT SWIFT_SDK_${prefix}_ARCH_${arch}_PATH )
256
- set (SWIFT_SDK_${prefix}_ARCH_${arch}_PATH "/" )
257
- endif ()
255
+ set (SWIFT_SDK_${prefix}_ARCH_${arch}_PATH "/" CACHE STRING "CMAKE_SYSROOT for ${prefix} ${arch} " )
256
+
258
257
if ("${prefix} " STREQUAL "HAIKU" )
259
258
set (SWIFT_SDK_HAIKU_ARCH_${arch}_LIBC_INCLUDE_DIRECTORY "/system/develop/headers/posix" CACHE STRING "Path to C library headers" )
260
259
set (SWIFT_SDK_HAIKU_ARCH_${arch}_LIBC_ARCHITECTURE_INCLUDE_DIRECTORY "/system/develop/headers" CACHE STRING "Path to C library architecture headers" )
You can’t perform that action at this time.
0 commit comments