Skip to content

Commit

Permalink
Merge pull request #85 from sharkwouter/patch-1
Browse files Browse the repository at this point in the history
Use psp-pkg-config for FindPkgConfig in CMake
  • Loading branch information
fjtrujy committed Mar 15, 2022
2 parents aa211af + a51d806 commit cc887d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/base/pspdev.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

SET(PKG_CONFIG_EXECUTABLE "${PSPDEV}/bin/psp-pkg-config")

## Add Default PSPSDK Libraries according to build.mak and add stdc++ for C++ builds so this doesn't need to be done manually later
include_directories(${PSPDEV}/psp/include ${PSPDEV}/psp/sdk/include)
link_directories( ${PSPDEV}/lib ${PSPDEV}/psp/lib ${PSPDEV}/psp/sdk/lib)
Expand Down

0 comments on commit cc887d7

Please sign in to comment.