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 186b8ba commit f6ebb35Copy full SHA for f6ebb35
llvm/docs/CMake.rst
@@ -1200,3 +1200,14 @@ Windows
1200
When compiling with clang-cl, CMake may use ``llvm-mt`` as the Manifest Tool
1201
when available. ```llvm-mt``` is only present when libxml2 is found at build-time.
1202
To ensure using Microsoft's Manifest Tool set `CMAKE_MT=mt`.
1203
+
1204
+Apple/OSX
1205
+---------
1206
1207
+**CMAKE_OSX_SYSROOT**:STRING
1208
+ When compiling for OSX, in order for the test suite to find libSystem to link
1209
+ dylib tests you'll need to run CMake with ```xcrun --show-sdk-path``` as the
1210
+ string to pass in so that the testsuite can find your os libraries.
1211
1212
+ This will show up as ```ld: library not found for -lSystem``` when running
1213
+ tests.
0 commit comments