diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-08-04 11:23:38 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-08-04 17:44:40 +0300 |
commit | f4425dd17b12823d75b39e49bd29f4419c9deb5b (patch) | |
tree | 670eabd582aa0edecfd809226735bacc631f2def | |
parent | b640a1343bb73f0c36a316f42847de5d61c156e3 (diff) |
CppunitTest_desktop_app needs the Foundation framework when sandboxed
Because cmdlineargs.cxx uses NSTemporaryDirectory when
HAVE_FEATURE_MACOSX_SANDBOX.
Change-Id: I120a1f69bc94be161b76a9b813623103adc5fbe7
-rw-r--r-- | desktop/CppunitTest_desktop_app.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/CppunitTest_desktop_app.mk b/desktop/CppunitTest_desktop_app.mk index a51d2705c4ea..1982e38e737c 100644 --- a/desktop/CppunitTest_desktop_app.mk +++ b/desktop/CppunitTest_desktop_app.mk @@ -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)) |