Skip to content

Commit

Permalink
Force libad9361 and libad9166 to skip generating doxygen
Browse files Browse the repository at this point in the history
This gets passed the following error:
/usr/local/bin/doxygen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/bin/doxygen)
CMake Warning at /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:396 (message):
  Unable to determine doxygen version: 1
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:551 (_Doxygen_find_doxygen)
  CMakeLists.txt:127 (find_package)

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
  • Loading branch information
dNechita committed Dec 5, 2022
1 parent 0520a2f commit d5bc68d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ build_libiio () {
# Build libad9361
build_libad9361 () {
cd ${CURDIR}/libad9361
sed -i "s/find_package(Doxygen)//" CMakeLists.txt
rm -rf build && mkdir build && cd build
cmake_build
make ${MAKE_J}
Expand All @@ -341,6 +342,7 @@ build_libad9361 () {
# Build libad9166
build_libad9166 () {
cd ${CURDIR}/libad9166
sed -i "s/find_package(Doxygen)//" CMakeLists.txt
rm -rf build && mkdir build && cd build
cmake_build
make ${MAKE_J}
Expand Down

0 comments on commit d5bc68d

Please sign in to comment.