mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Use ${CMAKE_COMMAND}
instead of cmake
.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ab1aa82a2
commit
6d731f052b
@ -36,7 +36,7 @@ function(add_llvm_symbol_exports target_name export_file)
|
||||
endif()
|
||||
|
||||
add_custom_command(OUTPUT symbol.def
|
||||
COMMAND cmake -E echo "EXPORTS" > symbol.def
|
||||
COMMAND ${CMAKE_COMMAND} -E echo "EXPORTS" > symbol.def
|
||||
COMMAND ${CAT} ${export_file} >> symbol.def
|
||||
DEPENDS ${export_file}
|
||||
VERBATIM
|
||||
@ -423,7 +423,7 @@ function(add_lit_target target comment)
|
||||
add_dependencies(${target} ${ARG_DEPENDS})
|
||||
else()
|
||||
add_custom_target(${target}
|
||||
COMMAND cmake -E echo "${target} does nothing, no tools built.")
|
||||
COMMAND ${CMAKE_COMMAND} -E echo "${target} does nothing, no tools built.")
|
||||
message(STATUS "${target} does nothing.")
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user