Commit 797357b
With the native-compile feature enabled, properly find build dir
When the native-compile feature is enabled, `locate-library` returns the path to
the compiled (`.eln`) file rather than the `.el` or `.elc` that would otherwise
be expected. Then `vterm-module-compile` runs the compilation from that
subdirectory and can't find the expected files.
`find-library-name` always returns the `.el` file location.
Example error:
CMake Error: The source directory "/Users/user/.emacs.d/straight/build/vterm/eln-x86_64-apple-darwin19.5.0-89a730c11dec204e" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found. Stop.1 parent f41849c commit 797357b
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
| |||
0 commit comments