Skip to content

Commit

Permalink
build.sh.inc: Don't specify windows version for libiio
Browse files Browse the repository at this point in the history
It's already specified/handled in the libiio CMake file.
This was causing a build error because the flag D_WIN32_WINNT was
defined twice.

Signed-off-by: Dan Nechita <[email protected]>
  • Loading branch information
dNechita committed Mar 5, 2021
1 parent 4d9c52f commit bcad26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ build_libiio () {
rm -rf build
mkdir build && cd build
cmake_build
cmake -DCMAKE_C_FLAGS="-D_WIN32_WINNT=0xA00" -DWITH_TESTS:BOOL=ON -DWITH_DOC:BOOL=OFF -DCSHARP_BINDINGS:BOOL=OFF -DPYTHON_BINDINGS:BOOL=OFF ..
cmake -DWITH_TESTS:BOOL=ON -DWITH_DOC:BOOL=OFF -DCSHARP_BINDINGS:BOOL=OFF -DPYTHON_BINDINGS:BOOL=OFF ..
make ${MAKE_J}
make install
}
Expand Down

0 comments on commit bcad26e

Please sign in to comment.