Permalink
Browse files

Sigh

  • Loading branch information...
SupSuper committed Jul 23, 2018
1 parent 17aa706 commit fb1401e0707b9b303850627fe76877bb7abea19d
Showing with 3 additions and 1 deletion.
  1. +3 −1 cmake/modules/PostprocessBundle.cmake
@@ -13,10 +13,12 @@

if(CMAKE_GENERATOR)
# Being called as include(PostprocessBundle), so define a helper function.
set(POSTPROCESS_BUNDLE_MODULE_LOCATION "${CMAKE_CURRENT_LIST_FILE}")
function(postprocess_bundle target path)
add_custom_command(TARGET ${target}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -DBUNDLE_PATH="${path}" -P "${CMAKE_CURRENT_LIST_FILE}"
COMMAND ${CMAKE_COMMAND} -DBUNDLE_PATH="${path}"
-P "${POSTPROCESS_BUNDLE_MODULE_LOCATION}"
)
endfunction()
return()

0 comments on commit fb1401e

Please sign in to comment.