Skip to content

Commit

Permalink
tools: Rely on CMAKE_PROGRAM_PATH for finding tools
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed May 19, 2024
1 parent 2fcbf43 commit 5940bb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmake/Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ macro(_bgfx_crosscompile_use_host_tool TOOL_NAME)
find_program(
${TOOL_NAME}_EXECUTABLE
NAMES bgfx-${TOOL_NAME} ${TOOL_NAME}
PATHS /usr/bin @VCPKG_CURRENT_HOST_INSTALLED_DIR@/tools/bgfx
)
add_executable(bgfx::${TOOL_NAME} IMPORTED)
set_target_properties(bgfx::${TOOL_NAME} PROPERTIES IMPORTED_LOCATION "${${TOOL_NAME}_EXECUTABLE}")
Expand Down

0 comments on commit 5940bb7

Please sign in to comment.