Commit 8f0e1c1
committed
launcher/CMake: Add symlink to bin on Linux
So it's available in $PATH
Since CMAKE_INSTALL_BINDIR is overridden to CMAKE_INSTALL_LIBDIR on
Linux, hardcode the bin directory as it's universal.
We also have to do a weird dance of a temporary .link file in the build
dir to get this to work correctly for distribution packaging purposes.
See https://github.com/zeek/cmake/blob/master/InstallSymlink.cmake#L241 parent 38427fa commit 8f0e1c1
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
25 | 38 | | |
26 | 39 | | |
27 | 40 | | |
| |||
0 commit comments