${CMAKE_STRIP} is evaluated to empty string, so it tries to execute "" -s /path/to/cl_dll/client.so which leads to the error /bin/sh: 1: : Permission denied.
This behavior is observed with Ninja version installed in the Steam runtime container. Somehow it's not an issue on the newer versions.
The solution is to strip only on Release build in the postbuild.
${CMAKE_STRIP}
is evaluated to empty string, so it tries to execute"" -s /path/to/cl_dll/client.so
which leads to the error/bin/sh: 1: : Permission denied
.This behavior is observed with Ninja version installed in the Steam runtime container. Somehow it's not an issue on the newer versions.
The solution is to strip only on Release build in the postbuild.