1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

nlopt CI linking fix

This commit is contained in:
Antonin Portelli 2020-01-13 16:40:04 +00:00
parent 5f5ecf241f
commit 51efb2a81f

View File

@ -19,10 +19,7 @@ tar -xzvf v${NAME}.tar.gz
NAME=nlopt-${NAME} NAME=nlopt-${NAME}
mkdir -p ${NAME}/build mkdir -p ${NAME}/build
cd ${NAME}/build cd ${NAME}/build
cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} .. cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=TRUE -DCMAKE_INSTALL_NAME_DIR="${PREFIX}/lib" ..
make -j4
make install
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
make -j4 make -j4
make install make install
cd ${INITDIR}/local cd ${INITDIR}/local