aboutsummaryrefslogtreecommitdiff
path: root/scripts/travis/script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/travis/script.sh')
-rwxr-xr-xscripts/travis/script.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/travis/script.sh b/scripts/travis/script.sh
index 57625fc6d..2b20a9910 100755
--- a/scripts/travis/script.sh
+++ b/scripts/travis/script.sh
@@ -106,13 +106,8 @@ if [ "$T" = "iconv" ]; then
fi
if [ "$T" = "cmake" ]; then
- if [ $TRAVIS_OS_NAME = linux ]; then
- cmake -H. -Bbuild -DCURL_WERROR=ON
- cmake --build build
- else
- cmake -H. -Bbuild -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCURL_DISABLE_LDAP=ON -DCURL_DISABLE_LDAPS=ON
- cmake --build build
- fi
+ cmake -H. -Bbuild -DCURL_WERROR=ON $C
+ cmake --build build
fi
if [ "$T" = "distcheck" ]; then