summaryrefslogtreecommitdiff
path: root/indra/cmake/LLVFS.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/LLVFS.cmake')
-rw-r--r--indra/cmake/LLVFS.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/cmake/LLVFS.cmake b/indra/cmake/LLVFS.cmake
new file mode 100644
index 0000000000..5ce3d2578e
--- /dev/null
+++ b/indra/cmake/LLVFS.cmake
@@ -0,0 +1,13 @@
+# -*- cmake -*-
+
+set(LLVFS_INCLUDE_DIRS
+ ${LIBS_OPEN_DIR}/llvfs
+ )
+
+set(LLVFS_LIBRARIES llvfs)
+
+if (DARWIN)
+ include(CMakeFindFrameworks)
+ find_library(CARBON_LIBRARY Carbon)
+ list(APPEND LLVFS_LIBRARIES ${CARBON_LIBRARY})
+endif (DARWIN)