tests/auto/cmake/test_waylandclient/CMakeLists.txt
raw| 1 | project(test_plugins) |
| 2 | |
| 3 | cmake_minimum_required(VERSION 2.8) |
| 4 | cmake_policy(SET CMP0056 NEW) |
| 5 | |
| 6 | find_package(Qt5WaylandClient REQUIRED) |
| 7 | |
| 8 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") |
| 9 | |
| 10 | include_directories(${Qt5WaylandClient_PRIVATE_INCLUDE_DIRS}) |
| 11 | add_executable(test_waylandclient_exe main.cpp) |
| 12 | target_link_libraries(test_waylandclient_exe Qt5::WaylandClient) |