Changeset View
Changeset View
Standalone View
Standalone View
examples/teamdrive/CMakeLists.txt
Show All 9 Lines | |||||
10 | set(teamdrive_example_HDRS mainwindow.h) | 10 | set(teamdrive_example_HDRS mainwindow.h) | ||
11 | qt5_wrap_ui(teamdrive_example_SRCS ui/main.ui) | 11 | qt5_wrap_ui(teamdrive_example_SRCS ui/main.ui) | ||
12 | 12 | | |||
13 | add_executable(teamdrive-example | 13 | add_executable(teamdrive-example | ||
14 | ${teamdrive_example_SRCS} | 14 | ${teamdrive_example_SRCS} | ||
15 | ${teamdrive_example_HDRS_MOC} | 15 | ${teamdrive_example_HDRS_MOC} | ||
16 | ) | 16 | ) | ||
17 | 17 | | |||
18 | # The Team Drives example is, inevitably, dependant on deprecated APIs. | ||||
19 | target_compile_options(teamdrive-example PRIVATE -Wno-deprecated-declarations) | ||||
20 | | ||||
18 | target_link_libraries(teamdrive-example | 21 | target_link_libraries(teamdrive-example | ||
19 | Qt5::Widgets | 22 | Qt5::Widgets | ||
20 | Qt5::Core | 23 | Qt5::Core | ||
21 | KF5::GAPICore | 24 | KF5::GAPICore | ||
22 | KF5::GAPIDrive | 25 | KF5::GAPIDrive | ||
23 | ) | 26 | ) |