Browse Source

embed-external-ui example needs -ObjC++ on macOS

Signed-off-by: falkTX <falktx@falktx.com>
pull/397/head
falkTX 2 years ago
parent
commit
5c8e51c19a
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      examples/EmbedExternalUI/CMakeLists.txt

+ 4
- 0
examples/EmbedExternalUI/CMakeLists.txt View File

@@ -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 ".")

Loading…
Cancel
Save