mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
build(userspace/coreutils): generate symlink "[" on install
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
6e077acc66
commit
65f9a805e2
@ -49,3 +49,11 @@ foreach(name IN LISTS GROUP_MAP_)
|
|||||||
)
|
)
|
||||||
install(TARGETS ${name} DESTINATION bin)
|
install(TARGETS ${name} DESTINATION bin)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
if(UNIX AND TARGET test)
|
||||||
|
install(CODE "execute_process(
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||||
|
test
|
||||||
|
\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin/[\"
|
||||||
|
)")
|
||||||
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user