diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt index c6eb5643db..c5e6ebe4a0 100644 --- a/rpcs3/CMakeLists.txt +++ b/rpcs3/CMakeLists.txt @@ -5,7 +5,7 @@ include(cotire) project(rpcs3) -# Generate git-version.cpp at build time. +# Generate git-version.h at build time. add_custom_target(GitVersion ALL DEPENDS something_that_never_exists) add_custom_command(OUTPUT something_that_never_exists diff --git a/rpcs3/git-version.cmake b/rpcs3/git-version.cmake index e6b5c86f90..1382a9cb18 100644 --- a/rpcs3/git-version.cmake +++ b/rpcs3/git-version.cmake @@ -1,4 +1,4 @@ -set(GIT_VERSION_FILE "${SOURCE_DIR}/git-version.h") +set(GIT_VERSION_FILE "${SOURCE_DIR}/rpcs3/git-version.h") set(GIT_VERSION "unknown") set(GIT_VERSION_UPDATE "1")