diff --git a/examples/EmbedExternalUI/CMakeLists.txt b/examples/EmbedExternalUI/CMakeLists.txt index f7720813..71e96579 100644 --- a/examples/EmbedExternalUI/CMakeLists.txt +++ b/examples/EmbedExternalUI/CMakeLists.txt @@ -9,5 +9,9 @@ dpf_add_plugin(d_embed_external_ui FILES_UI EmbedExternalExampleUI.cpp) +if (APPLE) +target_compile_options(d_embed_external_ui PUBLIC "-ObjC++") +endif () + target_include_directories( d_embed_external_ui PUBLIC ".")