diff --git a/CI/macOS/install_deps b/CI/macOS/install_deps index 20e08ae3..0f1f1e1a 100755 --- a/CI/macOS/install_deps +++ b/CI/macOS/install_deps @@ -74,6 +74,18 @@ build_libiio() { chmod +x macos_tar_fixup.sh ./macos_tar_fixup.sh cd "${WORKDIR}" + + echo "#### Building with documentation" + cd "${WORKDIR}"/libiio/build + cmake "${WORKDIR}"/libiio \ + -Werror=dev \ + -DCOMPILE_WARNING_AS_ERROR=ON \ + -DCPP_BINDINGS=ON \ + -DPYTHON_BINDINGS=ON \ + -DWITH_DOC=ON \ + -DWITH_SERIAL_BACKEND=ON + make + cd "${WORKDIR}" } install_packages