Skip to content

launcher/CMake: Add symlink to bin on Linux#581

Closed
joebonrichie wants to merge 1 commit intoopenmoh:mainfrom
joebonrichie:launchers-in-path-linux
Closed

launcher/CMake: Add symlink to bin on Linux#581
joebonrichie wants to merge 1 commit intoopenmoh:mainfrom
joebonrichie:launchers-in-path-linux

Conversation

@joebonrichie
Copy link
Copy Markdown
Contributor

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#L24

@joebonrichie
Copy link
Copy Markdown
Contributor Author

Should resolve the last issue of #526

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#L24
@smallmodel
Copy link
Copy Markdown
Member

Closing due to the usage of the new CMake structure from ioq3

@smallmodel smallmodel closed this Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants