Add CMake autotest
Task-number: QTBUG-84884 Change-Id: I7be48ae60c1b08dee6e95b042b9c72d809a9f72f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
parent
7b16ee4ae7
commit
564ca2f307
@ -6,10 +6,6 @@ project(test_plugins)
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
cmake_policy(SET CMP0056 NEW)
|
||||
|
||||
find_package(Qt5WaylandClient REQUIRED)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}")
|
||||
|
||||
include_directories(${Qt5WaylandClient_PRIVATE_INCLUDE_DIRS})
|
||||
find_package(Qt6WaylandClient REQUIRED)
|
||||
add_executable(test_waylandclient_exe main.cpp)
|
||||
target_link_libraries(test_waylandclient_exe Qt5::WaylandClient)
|
||||
target_link_libraries(test_waylandclient_exe Qt6::WaylandClientPrivate)
|
||||
|
Loading…
x
Reference in New Issue
Block a user