mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
configure: respect environment CMAKE_FLAGS
This commit is contained in:
parent
c222ef525b
commit
a6652fead2
6
configure
vendored
6
configure
vendored
@ -21,8 +21,12 @@ if [ ! -d "tmp" ]; then
|
|||||||
mkdir tmp
|
mkdir tmp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z ${CMAKE_FLAGS+x} ]; then
|
||||||
|
CMAKE_FLAGS="${CMAKE_FLAGS}"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -z ${CMAKE_INSTALL_PREFIX+x} ]; then
|
if [ ! -z ${CMAKE_INSTALL_PREFIX+x} ]; then
|
||||||
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
|
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} ${CMAKE_FLAGS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z ${OPENSSL_ROOT_DIR} ]; then
|
if [ -z ${OPENSSL_ROOT_DIR} ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user