pspdev / psplibraries

A script to automatically build open-source libraries for PSP homebrew development.
47 stars 45 forks source link

Fix need for setting library paths manually on cmake #78

Closed stefanmielke closed 3 years ago

stefanmielke commented 3 years ago

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

wally4000 commented 3 years ago

Happy with this