diff options
author | Cristian Adam <cristian.adam@qt.io> | 2020-11-05 14:29:44 +0100 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2020-11-05 20:49:43 +0000 |
commit | 970102639fa43c8dcbba7514e62154d006b7109f (patch) | |
tree | 662a0fb164649c95e7878cef4e45e475ef8a2cee /examples/wayland/custom-extension/cpp-client/CMakeLists.txt | |
parent | 252947a8054eaa5cff181171592a6fd4a9beaef6 (diff) | |
download | qtwayland-970102639fa43c8dcbba7514e62154d006b7109f.tar.gz |
CMake Build: Fix QtWayland examples linker errors
The examples have enabled only the CXX language, while the wayland
code generation CMake helper function would generate a C file, which
would not get compiled correctly.
By removing LANGUAGES CXX, the examples will have the default CMake
languages enabled: C and CXX.
Fixes: QTBUG-88040
Change-Id: Ia79563b60b5bc140ad0f9e087198044b2eb67d9e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'examples/wayland/custom-extension/cpp-client/CMakeLists.txt')
-rw-r--r-- | examples/wayland/custom-extension/cpp-client/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/custom-extension/cpp-client/CMakeLists.txt b/examples/wayland/custom-extension/cpp-client/CMakeLists.txt index 3cb61a54..ce120351 100644 --- a/examples/wayland/custom-extension/cpp-client/CMakeLists.txt +++ b/examples/wayland/custom-extension/cpp-client/CMakeLists.txt @@ -1,7 +1,7 @@ # Generated from cpp-client.pro. cmake_minimum_required(VERSION 3.14) -project(custom-extension-cpp-client LANGUAGES CXX) +project(custom-extension-cpp-client) # special case set(CMAKE_INCLUDE_CURRENT_DIR ON) |