CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument  value.  Or, use the ... syntax
  to tell CMake that the project requires at least  but has been updated
  to work with policies introduced by  or earlier.


CMake Error at CMakeLists.txt:57 (message):
  Could not find SDL2 headers


Traceback (most recent call last):
  File "/var/pisi/libsdl/actions.py", line 41, in setup
    cmaketools.configure(options)
  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 -fPIC -O3" -DCMAKE_CXX_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -fPIC -O3" -DCMAKE_LD_FLAGS="-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common" -DCMAKE_BUILD_TYPE=RelWithDebInfo -B build -G Ninja -DSDL12TESTS=0 -DSDL12DEVEL=1 -DCMAKE_INSTALL_PREFIX=/usr ." failed, return value was 1.
Action script error caught.
*** 1 error(s), 0 warning(s)
Program terminated.