commit 5c8e51c19a2b09f179715f45bc81b3d11ec918b0
parent 7e141db906536f74382d69b64d4541b09123faea
Author: falkTX <falktx@falktx.com>
Date: Wed, 28 Dec 2022 12:30:40 +0000
embed-external-ui example needs -ObjC++ on macOS
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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 ".")