Revert "Remove redundantly set corrosion env vars."

This reverts commit 114ebe3b8f.
This commit is contained in:
Fabian Boehm 2024-01-10 17:21:05 +01:00
parent fbfc6f8d8c
commit 2aee930659

View file

@ -41,6 +41,15 @@ set(extra_confdir
CACHE STRING "Path for extra configuration") CACHE STRING "Path for extra configuration")
corrosion_set_env_vars(${fish_rust_target}
"PREFIX=${prefix}"
# Temporary hack to propogate CMake flags/options to build.rs.
"CMAKE_WITH_GETTEXT=${CMAKE_WITH_GETTEXT}"
"DOCDIR=${CMAKE_INSTALL_FULL_DOCDIR}"
"DATADIR=${CMAKE_INSTALL_FULL_DATADIR}"
"SYSCONFDIR=${CMAKE_INSTALL_FULL_SYSCONFDIR}"
"BINDIR=${CMAKE_INSTALL_FULL_BINDIR}"
)
# These are the man pages that go in system manpath; all manpages go in the fish-specific manpath. # These are the man pages that go in system manpath; all manpages go in the fish-specific manpath.
set(MANUALS ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish.1 set(MANUALS ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish.1
${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish_indent.1 ${CMAKE_CURRENT_BINARY_DIR}/user_doc/man/man1/fish_indent.1