diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-08-01 16:36:01 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-08-01 20:42:30 +0200 |
commit | ec3d09bd9c3431f13b0978a698ff3b4fb7fb1eba (patch) | |
tree | eb262e7bdd160a921dcd6e9bb8cb6c746355e62f /tests/auto/gui/kernel | |
parent | d35e8ad754ebb08430669cef64f10d34e4277d1f (diff) |
cmake: Enable Objective-C++ language for standalone test projects
Amends 8450ab8dec83f075ee028f35b3035c9478fa13ce.
Task-number: QTBUG-93020
Change-Id: Ied86754dbcd216a73cc77135c2c45303463d28d2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/gui/kernel')
-rw-r--r-- | tests/auto/gui/kernel/qwindow/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qwindow/CMakeLists.txt b/tests/auto/gui/kernel/qwindow/CMakeLists.txt index 0504c77413..f65cf6bede 100644 --- a/tests/auto/gui/kernel/qwindow/CMakeLists.txt +++ b/tests/auto/gui/kernel/qwindow/CMakeLists.txt @@ -31,6 +31,7 @@ if(APPLE OR WIN32) ) if(APPLE) + enable_language(OBJCXX) set_source_files_properties(tst_foreignwindow.cpp PROPERTIES LANGUAGE OBJCXX) set_property(TARGET tst_foreignwindow PROPERTY PROPERTY MACOSX_BUNDLE TRUE) endif() |