Skip to content

Commit ccc4bd6

Browse files
authored
Update AddPrxModule.cmake
Fix "Could not open file exports.exp" when path is not absolute.
1 parent 1e5d2f1 commit ccc4bd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/base/AddPrxModule.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function(add_prx_module name)
2323
OUTPUT ${GENERATED_C_FILE}
2424
COMMAND psp-build-exports -b ${FILE} > ${GENERATED_C_FILE}
2525
DEPENDS ${FILE}
26+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
2627
COMMENT "Generating ${EXP_FILE_NAME}.c from ${EXP_FILE_NAME}.exp for target ${name}"
2728
)
2829

0 commit comments

Comments
 (0)