find_program not able to find arm-none-eabi-gcc tool chain path on Windows
Code:
if(WIN32)
message(STATUS "On windows")
find_program(_TOOL
arm-none-eabi-gcc.exe
PATHS "C:"
)
endif()
message(STATUS "${_TOOL}")
Result after executing: cmake -P mycmake.cmake
-- On windows
-- _TOOL-NOTFOUND
Edited by Brad King