From 701d84c2227e9219ad44c760e75c3c6f24a2cff0 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 0621c63..33a3943 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}")