Skip to content

Commit

Permalink
try CMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 18, 2024
1 parent af5ac65 commit db012ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,9 @@ build_single_target() {
_MK='gnumake'
fi

# avoid re-evaluating and sometimes rebuilding targets on `cmake --install`
_CMAKE_GLOBAL+=' -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON'

if [ "${_MK}" = 'ninja' ]; then
_CMAKE_GLOBAL+=' -G Ninja'
fi
Expand Down

0 comments on commit db012ae

Please sign in to comment.