We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#!
1 parent 1036bce commit 129d4e8Copy full SHA for 129d4e8
cmake/caches/util/xcode_sdk.cmake
@@ -27,11 +27,9 @@ if (CMAKE_C_COMPILER)
27
28
macro(create_shim VARIABLE TOOLNAME)
29
xcrun_find(SDK_TOOL_BIN ${TOOLNAME})
30
- file(WRITE ${CMAKE_BINARY_DIR}/${TOOLNAME} "
31
-#!/bin/bash
+ file(WRITE ${CMAKE_BINARY_DIR}/${TOOLNAME} "#!/bin/bash
32
# Shim to have the tool use the correct libLTO.dylib
33
-DYLD_LIBRARY_PATH=\"${COMPILER_DIR}/../lib:$DYLD_LIBRARY_PATH\" ${SDK_TOOL_BIN} $@
34
- ")
+DYLD_LIBRARY_PATH=\"${COMPILER_DIR}/../lib:$DYLD_LIBRARY_PATH\" ${SDK_TOOL_BIN} $@")
35
execute_process(COMMAND chmod +x ${CMAKE_BINARY_DIR}/${TOOLNAME})
36
set(${VARIABLE} ${CMAKE_BINARY_DIR}/${TOOLNAME} CACHE STRING "")
37
endmacro()
0 commit comments