CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/var/pisi/ddnet-19.9-1/work/DDNet-19.9/OPENGL_INCLUDE_DIR
   used as include directory in directory /var/pisi/ddnet-19.9-1/work/DDNet-19.9

CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LD_FLAGS


CMake Generate step failed.  Build files cannot be regenerated correctly.
Traceback (most recent call last):
  File "/var/pisi/ddnet/actions.py", line 14, in setup
    "-G Ninja "
  File "/usr/lib/pisilinux/pisi/actionsapi/cmaketools.py", line 65, in configure
    if system(args):
  File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
    error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
  File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
    raise Error(msg)
pisi.actionsapi.Error: Command "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_CXX_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_LD_FLAGS="-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common" -DCMAKE_BUILD_TYPE=RelWithDebInfo -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DAUTOUPDATE=OFF -DPREFER_BUNDLED_LIBS=OFF ." failed, return value was 1.
Action script error caught.
*** 1 error(s), 0 warning(s)
Program terminated.