WIP: Fixed install targets for plugins.

This commit is contained in:
Matthias Koefferlein 2018-06-19 21:21:44 +02:00
parent f4dd012005
commit 0c766150b0
2 changed files with 20 additions and 0 deletions

View File

@ -10,7 +10,17 @@ LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi
DEFINES += MAKE_DB_PLUGIN_LIBRARY
win32 {
dlltarget.path = $$PREFIX/db_plugins
INSTALLS += dlltarget
# to avoid the major version being appended to the dll name - in this case -lxyz won't link it again
# because the library is called xyx0.dll.
CONFIG += skip_target_version_ext
} else {
target.path = $$PREFIX/db_plugins
INSTALLS += target
}

View File

@ -10,7 +10,17 @@ LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_laybasi
DEFINES += MAKE_LAY_PLUGIN_LIBRARY
win32 {
dlltarget.path = $$PREFIX/lay_plugins
INSTALLS += dlltarget
# to avoid the major version being appended to the dll name - in this case -lxyz won't link it again
# because the library is called xyx0.dll.
CONFIG += skip_target_version_ext
} else {
target.path = $$PREFIX/lay_plugins
INSTALLS += target
}