Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Fix need for setting library paths manually on cmake #78

Merged
merged 1 commit into from
May 15, 2021

Conversation

stefanmielke
Copy link
Contributor

@stefanmielke stefanmielke commented May 14, 2021

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

Copy link
Member

@carstene1ns carstene1ns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable.

@wally4000 wally4000 merged commit 043813f into pspdev:master May 15, 2021
@wally4000
Copy link
Contributor

Happy with this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants