mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-25 17:49:52 +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
|
||||
fi
|
||||
|
||||
if [ ! -z ${CMAKE_FLAGS+x} ]; then
|
||||
CMAKE_FLAGS="${CMAKE_FLAGS}"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
if [ -z ${OPENSSL_ROOT_DIR} ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user