diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-08-21 19:38:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-21 19:38:26 +0200 |
commit | 3701255e4fd7fe1ead3524dc6f6650a724b1b9eb (patch) | |
tree | 37260a0b25e0efc494c63053d3a175e47c76ed87 | |
parent | Merge pull request #8784 from Docteh/nosnek (diff) | |
parent | cmake: add option to check submodules (diff) | |
download | yuzu-3701255e4fd7fe1ead3524dc6f6650a724b1b9eb.tar yuzu-3701255e4fd7fe1ead3524dc6f6650a724b1b9eb.tar.gz yuzu-3701255e4fd7fe1ead3524dc6f6650a724b1b9eb.tar.bz2 yuzu-3701255e4fd7fe1ead3524dc6f6650a724b1b9eb.tar.lz yuzu-3701255e4fd7fe1ead3524dc6f6650a724b1b9eb.tar.xz yuzu-3701255e4fd7fe1ead3524dc6f6650a724b1b9eb.tar.zst yuzu-3701255e4fd7fe1ead3524dc6f6650a724b1b9eb.zip |
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f508d61a..0ee012aca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,8 @@ option(YUZU_TESTS "Compile tests" ON) option(YUZU_USE_BUNDLED_VCPKG "Use vcpkg for yuzu dependencies" "${MSVC}") +option(YUZU_CHECK_SUBMODULES "Check if submodules are present" ON) + if (YUZU_USE_BUNDLED_VCPKG) if (YUZU_TESTS) list(APPEND VCPKG_MANIFEST_FEATURES "yuzu-tests") @@ -81,7 +83,7 @@ function(check_submodules_present) endforeach() endfunction() -if(EXISTS ${PROJECT_SOURCE_DIR}/.gitmodules) +if(EXISTS ${PROJECT_SOURCE_DIR}/.gitmodules AND YUZU_CHECK_SUBMODULES) check_submodules_present() endif() configure_file(${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.qrc |