Skip to content

Commit

Permalink
Ensure the lib is deployed to install-root on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchcurtis committed Sep 21, 2018
1 parent 2b31ba9 commit 9e3287e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/lib.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,15 @@ DynamicLibrary {
}

Group {
qbs.install: qbs.targetOS.contains("darwin")
qbs.installDir: "slate.app/Contents/Frameworks"
qbs.install: true
qbs.installDir: {
if (qbs.targetOS.contains("windows"))
return ""
else if (qbs.targetOS.contains("darwin"))
return "slate.app/Contents/Frameworks"
else
return "lib"
}
fileTagsFilter: "dynamiclibrary"
}

Expand Down

0 comments on commit 9e3287e

Please sign in to comment.