mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 13:02:33 +01:00
tools: Rely on CMAKE_PROGRAM_PATH for finding tools
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user