diff --git a/tools/build-ubuntu-deps.bash b/tools/build-ubuntu-deps.bash index 510589ae80..5ee84fc6e3 100755 --- a/tools/build-ubuntu-deps.bash +++ b/tools/build-ubuntu-deps.bash @@ -100,7 +100,7 @@ else cd knet sed -e "s/USE_TINYXML TRUE/USE_TINYXML FALSE/" -e "s/kNet STATIC/kNet SHARED/" -e "s/#set(USE_QT/set(USE_QT/" < CMakeLists.txt > x mv x CMakeLists.txt - cmake . + cmake . -DCMAKE_BUILD_TYPE=Debug make -j $nprocs cp lib/libkNet.so $prefix/lib/ rsync -r include/* $prefix/include/