diff options
author | Frederic L <frederic.laing.development@gmail.com> | 2019-02-03 01:15:46 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-06 22:23:41 -0300 |
commit | 8ff2ce520751b2eb833ded21f9f66f89059ff829 (patch) | |
tree | df354f595d5cb7f87c21b8f509d490777732a9c2 /src | |
parent | e6a224530454987aa7e4dfabe2f4d9b768b99a44 (diff) |
cmake: Use CMAKE_COMMAND instead of "cmake"
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
Diffstat (limited to 'src')
-rw-r--r-- | src/common/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index f38c0fee9..4b6ddf894 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -4,7 +4,7 @@ # like this allows for much better caching since it doesn't force the user to recompile binary shaders every update set(VIDEO_CORE "${CMAKE_SOURCE_DIR}/src/video_core") add_custom_command(OUTPUT scm_rev.cpp - COMMAND cmake -DSRC_DIR="${CMAKE_SOURCE_DIR}" -P "${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake" + COMMAND ${CMAKE_COMMAND} -DSRC_DIR="${CMAKE_SOURCE_DIR}" -P "${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake" DEPENDS # WARNING! It was too much work to try and make a common location for this list, # so if you need to change it, please update CMakeModules/GenerateSCMRev.cmake as well |