Skip to content

Commit d46b2b2

Browse files
authored
Merge pull request #329 from meetpatty/master
Fix CMake prx exports build issue for projects building multiple prx's.
2 parents c84807b + 1e6560d commit d46b2b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/AddPrxModule.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function(add_prx_module name)
1616
get_filename_component(EXP_FILE_NAME ${FILE} NAME_WE)
1717

1818
# Define the output .c file path
19-
set(GENERATED_C_FILE ${CMAKE_BINARY_DIR}/${EXP_FILE_NAME}.c)
19+
set(GENERATED_C_FILE ${CMAKE_CURRENT_BINARY_DIR}/${EXP_FILE_NAME}.c)
2020

2121
# Add a custom command for each .exp file to generate a .c file
2222
add_custom_command(

0 commit comments

Comments
 (0)