llvm.org GIT mirror llvm / 6d731f0
Use `${CMAKE_COMMAND}` instead of `cmake`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198139 91177308-0d34-0410-b5e6-96231b3b80d8 Nico Weber 5 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3535 endif()
3636
3737 add_custom_command(OUTPUT symbol.def
38 COMMAND cmake -E echo "EXPORTS" > symbol.def
38 COMMAND ${CMAKE_COMMAND} -E echo "EXPORTS" > symbol.def
3939 COMMAND ${CAT} ${export_file} >> symbol.def
4040 DEPENDS ${export_file}
4141 VERBATIM
422422 add_dependencies(${target} ${ARG_DEPENDS})
423423 else()
424424 add_custom_target(${target}
425 COMMAND cmake -E echo "${target} does nothing, no tools built.")
425 COMMAND ${CMAKE_COMMAND} -E echo "${target} does nothing, no tools built.")
426426 message(STATUS "${target} does nothing.")
427427 endif()
428428