You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
748 B
27 lines
748 B
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
set(polkit_tqt_gui_SRCS
|
|
polkittqt1-gui-action.cpp
|
|
polkittqt1-gui-actionbutton.cpp
|
|
polkittqt1-gui-actionbuttons.cpp
|
|
)
|
|
|
|
automoc4_add_library(polkit-tqt-gui-1 SHARED ${polkit_tqt_gui_SRCS})
|
|
|
|
target_link_libraries(polkit-tqt-gui-1
|
|
${TQT_TQTCORE_LIBRARY}
|
|
${TQT_TQTGUI_LIBRARY}
|
|
${TQT_TQTDBUS_LIBRARY}
|
|
${POLKIT_LIBRARIES}
|
|
polkit-tqt-core-1
|
|
)
|
|
|
|
set_target_properties(polkit-tqt-gui-1 PROPERTIES VERSION ${POLKITTQT-1_LIBRARY_VERSION}
|
|
SOVERSION ${POLKITTQT-1_ABI_VERSION}
|
|
DEFINE_SYMBOL MAKE_POLKITTQT1_LIB)
|
|
|
|
install(TARGETS polkit-tqt-gui-1 ${INSTALL_TARGETS_DEFAULT_ARGS})
|