mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
CMake: Corrected detection of `nm'.
llvm-svn: 58941
This commit is contained in:
parent
bb9c221f2a
commit
7f47a65445
@ -67,8 +67,10 @@ if( CMAKE_CROSSCOMPILING )
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
|
||||
endif()
|
||||
|
||||
find_program(NM_PATH nm PATH_SUFFIXES /bin)
|
||||
|
||||
if( NOT NM_PATH )
|
||||
message(FATAL_ERROR "`nm' was not found")
|
||||
message(FATAL_ERROR "`nm' not found")
|
||||
endif()
|
||||
|
||||
add_custom_command(OUTPUT ${LIBDEPS_TMP}
|
||||
|
Loading…
x
Reference in New Issue
Block a user