diff options
Diffstat (limited to 'cmake/QtSynchronizeRepo.cmake')
-rw-r--r-- | cmake/QtSynchronizeRepo.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/QtSynchronizeRepo.cmake b/cmake/QtSynchronizeRepo.cmake index 522ea76e..5b379d0b 100644 --- a/cmake/QtSynchronizeRepo.cmake +++ b/cmake/QtSynchronizeRepo.cmake @@ -1,3 +1,7 @@ +# This script is to be called (ideally from a git-sync-to alias script): +# cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" -P cmake/QtSynchronizeRepo.cmake + +cmake_policy(VERSION 3.16) include(cmake/QtTopLevelHelpers.cmake) qt_internal_sync_to(${SYNC_TO_MODULE} ${SYNC_TO_BRANCH}) |