mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
CMake: Corrected detection of `nm'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ab40ca3d5
commit
63b27a61f8
@ -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…
Reference in New Issue
Block a user