Calligra 4.0.1: cmake cannot find cppumaker / LibreOffice SDK

Preparing the source code of Calligra in version 4.0.1 using cmake for its compilation, cmake finishes without any error message, but it returns among other things this message:

-- Could not find sdk/bin/cppumaker
                or program/offapi.rdb for OOoSDK.

This despite the following configuration in my Tuxedo OS 3 installation:

xxx@<hostname>:/lib/libreoffice/sdk$ ls -1
bin
classes
config.guess
config.sub
configure.pl
idl
include
index.html
lib
setsdkenv_unix
setsdkenv_unix.sh
setsdkenv_unix.sh.in
settings
xxx@<hostname>:/lib/libreoffice/sdk$
xxx@<hostname>:/lib/libreoffice/sdk$ echo $OO_SDK_HOME
/lib/libreoffice/sdk
xxx@<hostname>:/lib/libreoffice/sdk$
xxx@<hostname>:/lib/libreoffice/sdk$ ./setsdkenv_unix

************************************************************************
*
* SDK environment is prepared for Linux
*
* SDK = /lib/libreoffice/sdk
* Office = /lib/libreoffice
* Make = /usr/bin
* Zip = /usr/bin
* cat = /usr/bin
* sed = /usr/bin
* C++ Compiler = /usr/bin
* Java = /usr
* SDK Output directory = /home/xxx/libreoffice_sdk/libreoffice24.8_sdk
* Auto deployment = YES
*
************************************************************************
xxx@<hostname>:/lib/libreoffice/sdk$

Can you give me a hint how I can make cmake detect cppumaker / the LibreOffice SDK?

Edit: Tuxedo OS 3 is based on Ubuntu 22.02.*, for (outdated) details refer to

< I am not (yet?) allowed to post links here, so if you want to read more information about Tuxedo OS, then please use a search engine >

Today I compiled what I downloaded about 10 days ago as being labeled as the latest Calligra source code by using git. Having compiled this source code it appeared that I in fact had compiled a Calligra version which is 2 years old, i.e. version 3.2.1, although I successfully could apply the command “git reset --hard 4.0.1” in my git directory on my local machine.

I then downloaded the tar.bz2 tarball being labelled for Calligra version 4.0.1 from invent - kde - org, but having extracted its content and having applied the same cmake configuration values which I had applied against the Calligra source code which I had downloaded about 10 days ago by using git, it appeared that the source code in the tar.bz2 tarball very likely seems to contain the source code for Calligra 3.2.1, too.

Something seems to go wrong here, isn’t it? Or what am I doing wrong here?