mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-28 20:13:49 -06:00
Only add option for shared libraries once
The way the test was done previously, it was added for *every* option after `--enable-shared`, not only that one.
This commit is contained in:
parent
c06a79f30b
commit
cb89621813
2
cmake/Scripts/configure
vendored
2
cmake/Scripts/configure
vendored
@ -424,6 +424,8 @@ for OPT in "$@"; do
|
||||
esac
|
||||
test -n "${shared}" && \
|
||||
FEATURES="${FEATURES} -DBUILD_SHARED_LIBS:BOOL=${shared}"
|
||||
# once we have added this, reset so we don't add again for next opt
|
||||
shared=""
|
||||
;;
|
||||
*)
|
||||
# remove everything *after* the equal sign
|
||||
|
Loading…
Reference in New Issue
Block a user