Commit 59c6a46
authored
CMake: modulemap override in build interface (#1539)
The modulemap override should only be added in the build interface,
where we don't copy the modulemap and header files. The install
interface installs the modulemap and header files to a location where
the compiler will see it, so passing the override results in the
compiler seeing both modulemaps defining the same module and then
failing. This moves the override to only be part of the build interface.1 parent 77f9c33 commit 59c6a46
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments