cmake: Enable Objective-C++ language for standalone test projects
Amends 8450ab8dec
.
Task-number: QTBUG-93020
Change-Id: Ied86754dbcd216a73cc77135c2c45303463d28d2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
d35e8ad754
commit
ec3d09bd9c
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user