summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorEuclid Linden <euclid@lindenlab.com>2021-07-28 21:12:27 +0000
committerEuclid Linden <euclid@lindenlab.com>2021-07-28 21:12:27 +0000
commit7637f9845b351a7cb3e41d97db7d3715e119e2df (patch)
treea4c20189069e945e3a34c21146fb14744a62a3a7 /indra/cmake
parent08f04113c9252258c9cb6132efa327432c3c27e0 (diff)
parent1a782ed690e56bf81ec9073041c7559e1762855d (diff)
Merged in euclid-541-lib (pull request #635)
Viewer autobuild changes to to import tracy lib
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/Tracy.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/indra/cmake/Tracy.cmake b/indra/cmake/Tracy.cmake
new file mode 100644
index 0000000000..bf09bccd4b
--- /dev/null
+++ b/indra/cmake/Tracy.cmake
@@ -0,0 +1,17 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+set(TRACY ON CACHE BOOL "Use Tracy profiler.")
+
+if (TRACY)
+ set(TRACY_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/tracy)
+ if (WINDOWS)
+ use_prebuilt_binary(tracy)
+ set(TRACY_LIBRARY tracy)
+ else (WINDOWS)
+ set(TRACY_LIBRARY "")
+ endif (WINDOWS)
+else (TRACY)
+ set(TRACY_LIBRARY "")
+endif (TRACY)
+