[llvm] r198139 - Use `${CMAKE_COMMAND}` instead of `cmake`.
Nico Weber
nicolasweber at gmx.de
Sat Dec 28 16:11:20 PST 2013
Author: nico
Date: Sat Dec 28 18:11:20 2013
New Revision: 198139
URL: http://llvm.org/viewvc/llvm-project?rev=198139&view=rev
Log:
Use `${CMAKE_COMMAND}` instead of `cmake`.
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=198139&r1=198138&r2=198139&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Sat Dec 28 18:11:20 2013
@@ -36,7 +36,7 @@ function(add_llvm_symbol_exports target_
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()
More information about the llvm-commits
mailing list