The value of SIP_EXECUTABLE is not used in the sip invocation within sip_configure.py. Instead, the sip_bin configuration is loaded from the sipconfig Python module.
Instead of assuming that the sip executable is called sip in the CMake which detects whether the sip binding generator is present, try to find the executable in the same way that sip_configure.py will.
The value of
SIP_EXECUTABLE
is not used in the sip invocation withinsip_configure.py
. Instead, thesip_bin
configuration is loaded from thesipconfig
Python module.Instead of assuming that the sip executable is called
sip
in the CMake which detects whether the sip binding generator is present, try to find the executable in the same way thatsip_configure.py
will.