Skip to content

Commit 04778c1

Browse files
authored
Merge pull request #296 from davidgfnet/master
Tweak pspdev.cmake
2 parents b3cc8e6 + b2c832d commit 04778c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/base/pspdev.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ SET(CMAKE_FIND_ROOT_PATH ${PSPDEV} ${PSPDEV}/psp ${PSPDEV}/psp/sdk)
2121
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
2222
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
2323
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
24+
SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
25+
SET(CMAKE_SYSTEM_PREFIX_PATH ${CMAKE_FIND_ROOT_PATH})
2426

2527
SET(PKG_CONFIG_EXECUTABLE "${PSPDEV}/bin/psp-pkg-config" CACHE STRING "Path to pkg-config")
2628

0 commit comments

Comments
 (0)