Skip to content

Commit db012ae

Browse files
committed
try CMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON
1 parent af5ac65 commit db012ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,9 @@ build_single_target() {
801801
_MK='gnumake'
802802
fi
803803

804+
# avoid re-evaluating and sometimes rebuilding targets on `cmake --install`
805+
_CMAKE_GLOBAL+=' -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON'
806+
804807
if [ "${_MK}" = 'ninja' ]; then
805808
_CMAKE_GLOBAL+=' -G Ninja'
806809
fi

0 commit comments

Comments
 (0)