message: ci: travis: lib.sh: allow more cmake options to be specified
  This will allow the build and install functions for the dependencies to be even more customizable
diff: @@ -138,11 +138,12 @@ deploy_doxygen() {
  build_and_install_glog() {
  REPO_DIR=$1
  INSTALL_DIR=$2
  + EXTRA_CMAKE_OPTIONS=$3
  BUILD_DIR=${REPO_DIR}/build_0_3_5
  mkdir -p ${BUILD_DIR}
  pushd ${BUILD_DIR}
  - cmake .. -DWITH_GFLAGS=off -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}
  + cmake .. -DWITH_GFLAGS=off -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} ${EXTRA_CMAKE_OPTIONS}
  make -j${NUM_JOBS}
  sudo make install
  popd
  @@ -154,11 +155,12 @@ build_and_install_glog() {
  build_and_install_protobuf() {
  REPO_DIR=$1
  INSTALL_DIR=$2
  + EXTRA_CMAKE_OPTIONS=$3
  BUILD_DIR=${REPO_DIR}/build_3_9_0
  mkdir -p ${BUILD_DIR}
  pushd ${BUILD_DIR}
  - cmake ../cmake/ -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}
  + cmake ../cmake/ -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} ${EXTRA_CMAKE_OPTIONS}
  make -j${NUM_JOBS}
  sudo make install
  popd
  @@ -170,11 +172,12 @@ build_and_install_protobuf() {
  build_and_install_websockets() {
  REPO_DIR=$1
  INSTALL_DIR=$2
  + EXTRA_CMAKE_OPTIONS=$3
  BUILD_DIR=${REPO_DIR}/build_3_1_0
  mkdir -p ${BUILD_DIR}
  pushd ${BUILD_DIR}
  - cmake .. -DLWS_STATIC_PIC=ON -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}
  + cmake .. -DLWS_STATIC_PIC=ON -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} ${EXTRA_CMAKE_OPTIONS}
  make -j${NUM_JOBS}
  sudo make install
  popd
  