Commit 92d0677
committed
Fix build with shared libraries
With `-DBUILD_SHARED_LIBS=ON`, the command line option gets defined
twice because the source file is included twice, once as part of the
library, once directly in the binary.
Fix this by adding source files only to the library, not to the binary.1 parent c0609a6 commit 92d0677
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| |||
0 commit comments