Commit 215b025
authored
Scope JSON_DLL_BUILD to shared lib target only (#1660)
Replaced directory-wide add_compile_definitions/add_definitions with
target_compile_definitions PRIVATE on the shared lib target, so
JSON_DLL_BUILD is not incorrectly applied to static and object libs.
Fixes #16341 parent ef08771 commit 215b025
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 110 | | |
117 | 111 | | |
118 | 112 | | |
| |||
122 | 116 | | |
123 | 117 | | |
124 | 118 | | |
| 119 | + | |
| 120 | + | |
125 | 121 | | |
126 | 122 | | |
127 | 123 | | |
| |||
0 commit comments