Set CMAKE_GENERATOR when ninja is present
This commit is contained in:
parent
258baeba77
commit
0b5fc5ad97
4
zshenv
4
zshenv
@ -36,6 +36,10 @@ fi
|
||||
export CCACHE_CONFIGPATH=$HOME/.config/ccache
|
||||
export CCACHE_DIR=$HOME/.cache/ccache
|
||||
|
||||
# Add default CMake generator
|
||||
which ninja &> /dev/null && \
|
||||
export CMAKE_GENERATOR=Ninja
|
||||
|
||||
# Remove duplicates from environment variables
|
||||
typeset -U fpath
|
||||
typeset -U PATH; export PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user