VERY experimental Nintendo Switch 2 emulator
C++
cmake: Use CMAKE_COMMAND instead of "cmake"
Frederic Lbec5eeec31d8
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txtindex f38c0fee97..4b6ddf8948 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 updateset(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