This PR changes the root path for cmake to know where to get libraries from.
This way you can build SDL projects without setting any of the SDL_LIB variables, and also enable an easy way use cmake.
With this change, you can now build projects like this (without the need for psp-cmake):
cmake . -DCMAKE_TOOLCHAIN_FILE=${PSPDEV}/psp/share/cmake/PSP.cmakemake
This PR changes the root path for cmake to know where to get libraries from.
This way you can build SDL projects without setting any of the SDL_LIB variables, and also enable an easy way use cmake.
With this change, you can now build projects like this (without the need for
psp-cmake
):cmake . -DCMAKE_TOOLCHAIN_FILE=${PSPDEV}/psp/share/cmake/PSP.cmake
make