diff options
author | Mai M <mathew1800@gmail.com> | 2021-06-09 21:38:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 21:38:56 +0200 |
commit | 5857067a1862555047b1ce5af1a2fc3857cce093 (patch) | |
tree | 93aba1d80e818c20277fd6966bd694d4740d8513 /src | |
parent | hle: service: Increase arbitrary max sessions limit. (diff) | |
parent | src/common/CMakeLists.txt: fix variable escaping (diff) | |
download | yuzu-5857067a1862555047b1ce5af1a2fc3857cce093.tar yuzu-5857067a1862555047b1ce5af1a2fc3857cce093.tar.gz yuzu-5857067a1862555047b1ce5af1a2fc3857cce093.tar.bz2 yuzu-5857067a1862555047b1ce5af1a2fc3857cce093.tar.lz yuzu-5857067a1862555047b1ce5af1a2fc3857cce093.tar.xz yuzu-5857067a1862555047b1ce5af1a2fc3857cce093.tar.zst yuzu-5857067a1862555047b1ce5af1a2fc3857cce093.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/CMakeLists.txt | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 7a4d9e354..2d403d471 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -21,14 +21,14 @@ find_package(Git QUIET) add_custom_command(OUTPUT scm_rev.cpp COMMAND ${CMAKE_COMMAND} - -DSRC_DIR="${CMAKE_SOURCE_DIR}" - -DBUILD_REPOSITORY="${BUILD_REPOSITORY}" - -DTITLE_BAR_FORMAT_IDLE="${TITLE_BAR_FORMAT_IDLE}" - -DTITLE_BAR_FORMAT_RUNNING="${TITLE_BAR_FORMAT_RUNNING}" - -DBUILD_TAG="${BUILD_TAG}" - -DBUILD_ID="${DISPLAY_VERSION}" - -DGIT_EXECUTABLE="${GIT_EXECUTABLE}" - -P "${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake" + -DSRC_DIR=${CMAKE_SOURCE_DIR} + -DBUILD_REPOSITORY=${BUILD_REPOSITORY} + -DTITLE_BAR_FORMAT_IDLE=${TITLE_BAR_FORMAT_IDLE} + -DTITLE_BAR_FORMAT_RUNNING=${TITLE_BAR_FORMAT_RUNNING} + -DBUILD_TAG=${BUILD_TAG} + -DBUILD_ID=${DISPLAY_VERSION} + -DGIT_EXECUTABLE=${GIT_EXECUTABLE} + -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 @@ -92,6 +92,7 @@ add_custom_command(OUTPUT scm_rev.cpp "${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.h" # technically we should regenerate if the git version changed, but its not worth the effort imo "${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake" + VERBATIM ) add_library(common STATIC |