Skip to content

Commit

Permalink
Fix to AutoprojectDynamicLib item so that it takes name of product ra…
Browse files Browse the repository at this point in the history
…ther than project for creating the define.
  • Loading branch information
michaelvlach committed Nov 1, 2017
1 parent 6d5c308 commit 8b3ccfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .autoproject/imports/AutoprojectDynamicLib.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DynamicLibrary
{
property stringList paths: []
Depends { name: "cpp" }
cpp.defines: project.name.toUpperCase() + "_LIB"
cpp.defines: name.toUpperCase() + "_LIB"
targetName: qbs.buildVariant == "debug" ? name + "d" : name

files:
Expand Down

0 comments on commit 8b3ccfe

Please sign in to comment.