print NDI ver: use NDIlib_version()

Note that the printed now is the runtime version, while in the previous
version it wash the version used (just) for the compilation. Current
inmplementation seem to be better, anyways.
This commit is contained in:
Martin Pulec
2024-06-25 12:21:39 +02:00
parent 3c7a75f486
commit 09eb5411ed
3 changed files with 1 additions and 12 deletions

View File

@@ -59,8 +59,6 @@ install_ndi() {(
installer=/private/var/tmp/Install_NDI_SDK_Apple.pkg
sudo installer -pkg $installer -target /
sudo mv /Library/NDI\ SDK\ for\ * /Library/NDI
sed 's/\(.*\)/\#define NDI_VERSION \"\1\"/' < /Library/NDI/Version.txt |
sudo tee /usr/local/include/ndi_version.h
)
NDI_LIB=/Library/NDI/lib/macOS
export CPATH=${CPATH:+"$CPATH:"}/Library/NDI/include