BundleUtilities: Fix test when using xcode (#12034)

This commit is contained in:
Clinton Stimpson
2011-05-27 17:06:35 -06:00
committed by David Cole
parent b68d3dc1b5
commit e40b79e79f
+1 -1
View File
@@ -37,7 +37,7 @@ include(BundleUtilities)
fixup_bundle("${OUTPUT}" "${OUTPUT_MODULE}" "${INPUTDIR}")
# make sure we can run the app
execute_process(COMMAND "${OUTPUT}" RESULT_VARIABLE result)
execute_process(COMMAND "${OUTPUT}" RESULT_VARIABLE result WORKING_DIRECTORY "${EXE_DIR}")
if(NOT result STREQUAL "0")
message(FATAL_ERROR " failed to execute test program")