From e40ce11ba9fdcfc6912e5d8e6ba86b5ef8197a0f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 9 Jul 2026 10:43:30 +0300 Subject: [PATCH] Link NFD statically Currently, the profiler will build against the git NFD, but link it as a shared library. Since libnfd is not installed when building Tracy as a distro package, it will end up actually depending on and running against an older distro-provided NFD, hitting an unresolved function error due to the newly added NFD function in git. Other deps fetched with CPM are linked statically, avoiding this problem. --- cmake/vendor.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/vendor.cmake b/cmake/vendor.cmake index 93870c56..98d8d21e 100644 --- a/cmake/vendor.cmake +++ b/cmake/vendor.cmake @@ -188,6 +188,7 @@ if(NOT NO_FILESELECTOR AND NOT EMSCRIPTEN) GIT_TAG 3cd252a8f7ca32419b1ca235c2990ba6a0ecba7c EXCLUDE_FROM_ALL TRUE OPTIONS + "BUILD_SHARED_LIBS OFF" "NFD_PORTAL ${NFD_PORTAL}" ) endif()