mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Use ${CMAKE_COMMAND}
instead of cmake
.
llvm-svn: 198139
This commit is contained in:
parent
63f1522f93
commit
836d2151f2
@ -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