Using qmake properly for the installation target.

This commit is contained in:
Matthias Koefferlein 2017-08-27 18:03:38 +02:00
parent 992307a915
commit 04f1a61bc5
1 changed files with 4 additions and 10 deletions

View File

@ -3,16 +3,10 @@ include($$PWD/klayout.pri)
TEMPLATE = lib
inst_target.path = $$PREFIX
win32 {
inst_target.files = $(DESTDIR_TARGET)
dlltarget.path = $$PREFIX
INSTALLS += dlltarget
} else {
inst_target.files = $$DESTDIR/$(TARGET)
inst_target.extra = ln -s $(TARGET) $(TARGET0) && ln -s $(TARGET) $(TARGET1) && ln -s $(TARGET) $(TARGET2)
target.path = $$PREFIX
INSTALLS += target
}
INSTALLS = inst_target