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

Commit

Permalink
Merge pull request #78 from stefanmielke/master
Browse files Browse the repository at this point in the history
Fix need for setting library paths manually on cmake
  • Loading branch information
wally4000 committed May 15, 2021
2 parents 90251f4 + 323b2d8 commit 043813f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion patches/PSP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ set(PSPBIN ${PSPDEV}/bin)
set(PSPCMAKE ${PSPDEV}/psp/share/cmake)

# Basic CMake Declarations
set(CMAKE_PREFIX_PATH ${PSPDEV} ${PSPDEV}/psp ${PSPSDK})
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_C_COMPILER ${PSPBIN}/psp-gcc)
set(CMAKE_CXX_COMPILER ${PSPBIN}/psp-g++)
set(CMAKE_FIND_ROOT_PATH "${PSPSDK};${PSPDEV}")
set(CMAKE_FIND_ROOT_PATH ${PSPDEV})
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(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)

# Set paths to PSP-specific utilities:
set(MKSFO ${PSPBIN}/mksfo)
Expand Down

0 comments on commit 043813f

Please sign in to comment.