mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 08:41:34 +00:00
Update AddPrxModule.cmake
Fix "Could not open file exports.exp" when path is not absolute.
This commit is contained in:
@@ -23,6 +23,7 @@ function(add_prx_module name)
|
|||||||
OUTPUT ${GENERATED_C_FILE}
|
OUTPUT ${GENERATED_C_FILE}
|
||||||
COMMAND psp-build-exports -b ${FILE} > ${GENERATED_C_FILE}
|
COMMAND psp-build-exports -b ${FILE} > ${GENERATED_C_FILE}
|
||||||
DEPENDS ${FILE}
|
DEPENDS ${FILE}
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
COMMENT "Generating ${EXP_FILE_NAME}.c from ${EXP_FILE_NAME}.exp for target ${name}"
|
COMMENT "Generating ${EXP_FILE_NAME}.c from ${EXP_FILE_NAME}.exp for target ${name}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user