Skip to content

Commit fb1401e

Browse files
committed
Sigh
1 parent 17aa706 commit fb1401e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎cmake/modules/PostprocessBundle.cmake‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313

1414
if(CMAKE_GENERATOR)
1515
# Being called as include(PostprocessBundle), so define a helper function.
16+
set(POSTPROCESS_BUNDLE_MODULE_LOCATION "${CMAKE_CURRENT_LIST_FILE}")
1617
function(postprocess_bundle target path)
1718
add_custom_command(TARGET ${target}
1819
POST_BUILD
19-
COMMAND ${CMAKE_COMMAND} -DBUNDLE_PATH="${path}" -P "${CMAKE_CURRENT_LIST_FILE}"
20+
COMMAND ${CMAKE_COMMAND} -DBUNDLE_PATH="${path}"
21+
-P "${POSTPROCESS_BUNDLE_MODULE_LOCATION}"
2022
)
2123
endfunction()
2224
return()

0 commit comments

Comments
 (0)