Merge pull request #1870 from nmulcahey/cmake

cmake: Use ${CMAKE_COMMAND} instead of `cmake`
This commit is contained in:
Jan Niklas Hasse 2020-11-05 09:34:25 +01:00 committed by GitHub
commit 7653ebd059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ if(platform_supports_ninja_browse)
OUTPUT build/browse_py.h
MAIN_DEPENDENCY src/browse.py
DEPENDS src/inline.sh
COMMAND cmake -E make_directory ${CMAKE_BINARY_DIR}/build
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/build
COMMAND src/inline.sh kBrowsePy
< src/browse.py
> ${CMAKE_BINARY_DIR}/build/browse_py.h