Commit 39c76eb
authored
Use CMAKE_CURRENT_*_DIR when finding gcem (#1752)
`FindGCEM.cmake` searches in `CMAKE_SOURCE_DIR`, which will fail if fluidsynth is not the top-level cmake project. This results in gcem being downloaded from github even when the submodule is updated.
Search `CMAKE_CURRENT_SOURCE_DIR` instead (and store the result in `CMAKE_CURRENT_BINARYDIR`)1 parent 28951f6 commit 39c76eb
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments