Skip to content

Commit

Permalink
Force Static lib build for new tag based opendnp3 library
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen-garg authored Dec 13, 2024
1 parent 9fef8a8 commit 28ae1b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ if [ ! -d "${directory}/opendnp3" ]; then
cd build
echo Building opendnp3 static library ...
if [ ${useTLS} -eq 1 ]; then
cmake -DSTATICLIBS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DDNP3_DEMO=ON -DDNP3_TLS=ON ..
cmake -DDNP3_STATIC_LIBS=ON -DSTATICLIBS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DDNP3_DEMO=ON -DDNP3_TLS=ON ..
#For DNP3_STATIC_LIBS see https://github.com/dnp3/opendnp3/blob/release/CMakeLists.txt#L70
else
cmake -DSTATICLIBS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DDNP3_DEMO=ON ..
fi
Expand Down

0 comments on commit 28ae1b4

Please sign in to comment.