summaryrefslogtreecommitdiffstats
path: root/cmake/CMakeFindBinUtils.cmake
blob: 753577a160f9bc87c8e9222286ccb7eac382679b (plain)
1
2
3
4
5
6
7
if(CMAKE_COMPILER_IS_GNUCC)
  find_program(CMAKE_AR NAMES ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
  find_program(CMAKE_NM NAMES ${_CMAKE_TOOLCHAIN_PREFIX}gcc-nm HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
  find_program(CMAKE_RANLIB NAMES ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ranlib HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
endif(CMAKE_COMPILER_IS_GNUCC)

include(${CMAKE_ROOT}/Modules/CMakeFindBinUtils.cmake)