mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
Install the auto-type plugin.
This commit is contained in:
parent
2a45f57386
commit
3100c202e8
@ -134,14 +134,17 @@ if(APPLE AND "${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr/local")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
set(BIN_INSTALL_DIR ".")
|
set(BIN_INSTALL_DIR ".")
|
||||||
set(DATA_INSTALL_DIR "share")
|
set(PLUGIN_INSTALL_DIR ".")
|
||||||
|
set(DATA_INSTALL_DIR "share")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
set(BIN_INSTALL_DIR ".")
|
set(BIN_INSTALL_DIR ".")
|
||||||
set(DATA_INSTALL_DIR "${PROGNAME}.app/Contents/Resources")
|
set(PLUGIN_INSTALL_DIR ".")
|
||||||
|
set(DATA_INSTALL_DIR "${PROGNAME}.app/Contents/Resources")
|
||||||
else()
|
else()
|
||||||
set(BIN_INSTALL_DIR "bin")
|
set(BIN_INSTALL_DIR "bin")
|
||||||
set(DATA_INSTALL_DIR "share/keepassx")
|
set(PLUGIN_INSTALL_DIR "lib/keepassx")
|
||||||
|
set(DATA_INSTALL_DIR "share/keepassx")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_TESTS)
|
if(WITH_TESTS)
|
||||||
|
@ -12,3 +12,6 @@ qt4_wrap_cpp(autotype_X11_SOURCES ${autotype_X11_MOC})
|
|||||||
|
|
||||||
add_library(keepassx-autotype-x11 MODULE ${autotype_X11_SOURCES})
|
add_library(keepassx-autotype-x11 MODULE ${autotype_X11_SOURCES})
|
||||||
target_link_libraries(keepassx-autotype-x11 ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${X11_X11_LIB} ${X11_XTest_LIB})
|
target_link_libraries(keepassx-autotype-x11 ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${X11_X11_LIB} ${X11_XTest_LIB})
|
||||||
|
install(TARGETS keepassx-autotype-x11
|
||||||
|
BUNDLE DESTINATION . COMPONENT Runtime
|
||||||
|
LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR} COMPONENT Runtime)
|
||||||
|
Loading…
Reference in New Issue
Block a user