1
0
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:
Nico Weber 2013-12-29 00:11:20 +00:00
parent 63f1522f93
commit 836d2151f2

View File

@ -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()