2011-01-30 16:34:15 +00:00
|
|
|
include_directories(${KDEBASE_WORKSPACE_SOURCE_DIR}/libs/oxygen)
|
2011-01-29 18:12:23 +00:00
|
|
|
|
|
|
|
########### next target ###############
|
2013-08-01 18:19:37 +00:00
|
|
|
set(oxygen_shadow_demo_SOURCES
|
2011-01-29 18:12:23 +00:00
|
|
|
oxygenshadowdemodialog.cpp
|
|
|
|
oxygenshadowdemowidget.cpp
|
|
|
|
main.cpp)
|
|
|
|
|
2013-08-01 18:19:37 +00:00
|
|
|
set(oxygen_shadow_demo_FORMS ui/oxygenshadowdemo.ui)
|
|
|
|
|
2013-08-07 09:42:23 +00:00
|
|
|
qt5_wrap_ui(oxygen_shadow_demo_FORMS_HEADERS ${oxygen_shadow_demo_FORMS})
|
2013-08-01 18:19:37 +00:00
|
|
|
|
2013-08-07 09:42:23 +00:00
|
|
|
add_executable(oxygen-shadow-demo ${oxygen_shadow_demo_SOURCES} ${oxygen_shadow_demo_FORMS_HEADERS})
|
2011-01-29 18:12:23 +00:00
|
|
|
|
2013-08-07 09:42:23 +00:00
|
|
|
target_link_libraries(oxygen-shadow-demo Qt5::Core Qt5::Gui Qt5::Widgets Qt5::DBus)
|
|
|
|
target_link_libraries(oxygen-shadow-demo KF5::KI18n KF5::KConfigWidgets)
|
2013-08-01 18:19:37 +00:00
|
|
|
target_link_libraries(oxygen-shadow-demo oxygenstyle )
|
2011-01-29 18:12:23 +00:00
|
|
|
|
2013-08-01 18:19:37 +00:00
|
|
|
if(X11_FOUND)
|
2013-08-07 09:42:23 +00:00
|
|
|
target_link_libraries(oxygen-shadow-demo ${X11_LIBRARIES})
|
2013-08-01 18:19:37 +00:00
|
|
|
endif()
|
2011-01-29 18:12:23 +00:00
|
|
|
|
2013-08-07 09:42:23 +00:00
|
|
|
install(TARGETS oxygen-shadow-demo ${INSTALL_TARGETS_DEFAULT_ARGS})
|