From 6c054fc51067760623262cf023ee2d6c5773f977 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Sun, 19 May 2024 15:55:52 -0400 Subject: [PATCH] tools: Add an option to insert search paths for tools --- cmake/Config.cmake.in | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in index 0621c6357..33a3943ad 100644 --- a/cmake/Config.cmake.in +++ b/cmake/Config.cmake.in @@ -14,6 +14,7 @@ macro(_bgfx_crosscompile_use_host_tool TOOL_NAME) find_program( ${TOOL_NAME}_EXECUTABLE NAMES bgfx-${TOOL_NAME} ${TOOL_NAME} + PATHS @BGFX_ADDITIONAL_TOOL_PATHS@ /usr/bin ) add_executable(bgfx::${TOOL_NAME} IMPORTED) set_target_properties(bgfx::${TOOL_NAME} PROPERTIES IMPORTED_LOCATION "${${TOOL_NAME}_EXECUTABLE}")