Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Your latest releases cannot be used (without hacks and patches) with vcpkg and Homebrew because they prohibit external downloads that CPM.cmake does
pkg_check_modules(CAPSTONE capstone)
pkg_check_modules(GLFW glfw3)
pkg_check_modules(FREETYPE freetype2)
...
https://github.com/Homebrew/homebrew-core/blob/badf764aab60b495bb699e23ab3b1633f588df50/Formula/t/tracy.rb
depends_on "glfw"
depends_on "capstone"
depends_on "freetype"
https://github.com/microsoft/vcpkg/blob/master/ports/tracy/vcpkg.json
"dependencies": [
{
"name": "capstone",
"features": [
"arm",
"arm64",
"x86"
]
},
...
"freetype",
"glfw3",
...
]
Please, use the same approach and check that modules are already installed:
pkg_check_modules(ZSTD libzstd)
pkg_check_modules(ImGui imgui)
pkg_check_modules(NFD nfd)
pkg_check_modules(PPQSORT ppqsort)
(I'm checking that these names and CMake variables are correct)
https://github.com/btzy/nativefiledialog-extended/blob/master/src/CMakeLists.txt nfd
https://github.com/GabTux/PPQSort/blob/master/standalone/CMakeLists.txt PPQSort::PPQSort
https://github.com/facebook/zstd/tree/dev/lib
O_o
https://github.com/conan-io/conan-center-index/blob/master/recipes/imgui/all/CMakeLists.txt
https://github.com/microsoft/vcpkg/blob/master/ports/imgui/CMakeLists.txt