Corrected autotype lib building for Windows

This commit is contained in:
Jonathan White 2016-12-27 22:24:22 -05:00
parent 07a41f58d7
commit 0e65b9b9f8
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
4 changed files with 9 additions and 10 deletions

View file

@ -3,4 +3,4 @@ set(autotype_test_SOURCES
)
add_library(keepassx-autotype-test MODULE ${autotype_test_SOURCES})
target_link_libraries(keepassx-autotype-test testautotype keepassx_core ${autotype_LIB} Qt5::Core Qt5::Widgets)
target_link_libraries(keepassx-autotype-test keepassx_core ${autotype_LIB} Qt5::Core Qt5::Widgets)

View file

@ -3,7 +3,7 @@ set(autotype_win_SOURCES
)
add_library(keepassx-autotype-windows MODULE ${autotype_win_SOURCES})
target_link_libraries(keepassx-autotype-windows ${PROGNAME} Qt5::Core Qt5::Widgets)
target_link_libraries(keepassx-autotype-windows keepassx_core ${autotype_LIB} Qt5::Core Qt5::Widgets)
install(TARGETS keepassx-autotype-windows
BUNDLE DESTINATION . COMPONENT Runtime
LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR} COMPONENT Runtime)
LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR} COMPONENT Runtime)