1
0
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:
Koichiro IWAO 2020-03-20 18:56:56 +09:00
parent c222ef525b
commit a6652fead2
No known key found for this signature in database
GPG Key ID: 9F72CDBC01BF10EB

6
configure vendored
View File

@ -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