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/corelib/io | |
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/corelib/io')
-rw-r--r-- | tests/auto/corelib/io/qdebug/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/auto/corelib/io/qfileinfo/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qdebug/CMakeLists.txt b/tests/auto/corelib/io/qdebug/CMakeLists.txt index 15deeac218..89d39c4375 100644 --- a/tests/auto/corelib/io/qdebug/CMakeLists.txt +++ b/tests/auto/corelib/io/qdebug/CMakeLists.txt @@ -19,5 +19,6 @@ qt_internal_add_test(tst_qdebug ) if (APPLE) + enable_language(OBJCXX) set_source_files_properties(tst_qdebug.cpp PROPERTIES LANGUAGE OBJCXX) endif() diff --git a/tests/auto/corelib/io/qfileinfo/CMakeLists.txt b/tests/auto/corelib/io/qfileinfo/CMakeLists.txt index 697b74199e..24b1c3972a 100644 --- a/tests/auto/corelib/io/qfileinfo/CMakeLists.txt +++ b/tests/auto/corelib/io/qfileinfo/CMakeLists.txt @@ -54,5 +54,6 @@ qt_internal_extend_target(tst_qfileinfo CONDITION WIN32 ) if (APPLE) + enable_language(OBJCXX) set_source_files_properties(tst_qfileinfo.cpp PROPERTIES LANGUAGE OBJCXX) endif() |