-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/brad/macos-universal-static' int…
…o rye/tracy0111
- Loading branch information
Showing
2 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake | ||
index bd53a4db..100040e6 100644 | ||
--- a/cmake/vendor.cmake | ||
+++ b/cmake/vendor.cmake | ||
@@ -49,6 +49,7 @@ if(NOT USE_WAYLAND AND NOT EMSCRIPTEN) | ||
"GLFW_BUILD_TESTS OFF" | ||
"GLFW_BUILD_DOCS OFF" | ||
"GLFW_INSTALL OFF" | ||
+ "GLFW_LIBRARY_TYPE STATIC" | ||
) | ||
add_library(TracyGlfw3 INTERFACE) | ||
target_link_libraries(TracyGlfw3 INTERFACE glfw) | ||
@@ -70,6 +71,7 @@ else() | ||
OPTIONS | ||
"FT_DISABLE_HARFBUZZ ON" | ||
"FT_WITH_HARFBUZZ OFF" | ||
+ "BUILD_SHARED_LIBS OFF" | ||
) | ||
add_library(TracyFreetype INTERFACE) | ||
target_link_libraries(TracyFreetype INTERFACE freetype) |