CppunitTest_desktop_app needs the Foundation framework when sandboxed

Because cmdlineargs.cxx uses NSTemporaryDirectory when
HAVE_FEATURE_MACOSX_SANDBOX.

Change-Id: I120a1f69bc94be161b76a9b813623103adc5fbe7
This commit is contained in:
Tor Lillqvist
2016-08-04 11:23:38 +03:00
parent b640a1343b
commit f4425dd17b

View File

@@ -56,6 +56,14 @@ $(eval $(call gb_CppunitTest_use_library_objects,desktop_app, \
sofficeapp \
))
ifeq ($(ENABLE_MACOSX_SANDBOX),TRUE)
$(eval $(call gb_CppunitTest_use_system_darwin_frameworks,desktop_app,\
Foundation \
))
endif
$(eval $(call gb_CppunitTest_use_external,desktop_app,boost_headers))
$(eval $(call gb_CppunitTest_use_sdk_api,desktop_app))