Fix CMake for older versions
This commit is contained in:
parent
49699de043
commit
749e5c2845
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ set(PROJECT_REPOSITORY https://github.com/sfztools/sfizz)
|
|||
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
||||
# Ensure presence of Git submodules (when not using the source tarball)
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git" AND NOT CMAKE_VERSION VERSION_LESS "3.19.0")
|
||||
include(GitSubmoduleCheck)
|
||||
git_submodule_check(external/abseil-cpp)
|
||||
git_submodule_check(external/filesystem)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue