Changeset 24987

Timestamp:
Mar 3, 2021, 12:40:48 AM (3 years ago)
Author:
s0600204
Message:

Pass an install location to the fmt build on MacOS

Similar to what all the other sections do.

Differential Revision: https://code.wildfiregames.com/D2689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/libraries/osx/build-osx-libs.sh

    r24310 r24987  
    903903if [[ "$force_rebuild" = "true" ]] || [[ ! -e .already-built ]] || [[ "$(<.already-built)" != "$FMT_VERSION" ]]
    904904then
     905
    905906  rm -f .already-built
    906907
     
    920921      -DFMT_TEST=False \
    921922      -DFMT_DOC=False \
    922     && make fmt ${JOBS}) || die "fmt build failed"
    923   popd
    924 
    925   mkdir -p ../lib
    926   cp build/libfmt.a ../lib/
    927   cp -r include ../include
    928 
     923      -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" \
     924    && make fmt ${JOBS} && make install) || die "fmt build failed"
     925
     926  popd
    929927  popd
    930928  echo "$FMT_VERSION" > .already-built
Note: See TracChangeset for help on using the changeset viewer.