BundleUtilities: Fix test when using xcode (#12034)
This commit is contained in:
parent
b68d3dc1b5
commit
e40b79e79f
|
@ -37,7 +37,7 @@ include(BundleUtilities)
|
||||||
fixup_bundle("${OUTPUT}" "${OUTPUT_MODULE}" "${INPUTDIR}")
|
fixup_bundle("${OUTPUT}" "${OUTPUT_MODULE}" "${INPUTDIR}")
|
||||||
|
|
||||||
# make sure we can run the app
|
# 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")
|
if(NOT result STREQUAL "0")
|
||||||
message(FATAL_ERROR " failed to execute test program")
|
message(FATAL_ERROR " failed to execute test program")
|
||||||
|
|
Loading…
Reference in New Issue