From 8b5f91ebdd6bcb798b52b35f0bd94c8e8b487a0e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Mon, 5 Dec 2011 19:43:34 +0100 Subject: Added CMake paths --- bashrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bashrc b/bashrc index c74f966..b033c4e 100644 --- a/bashrc +++ b/bashrc @@ -23,10 +23,16 @@ export KDEDIRS=$KDEDIR export KDEV=$HOME/Projects/kde export RUBY=$KDEV/kdev-ruby +# Export the standard paths to include KDE export PATH=$KDEDIR/bin:$PATH export LD_LIBRARY_PATH=$KDEDIR/lib:$LD_LIBRARY_PATH export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share +# Export the CMake paths so it searches for KDE in the right places +export CMAKE_PREFIX_PATH=$KDEDIR:$CMAKE_PREFIX_PATH +export CMAKE_LIBRARY_PATH=$KDEDIR/lib:$CMAKE_LIBRARY_PATH +export CMAKE_INCLUDE_PATH=$KDEDIR/include:$CMAKE_INCLUDE_PATH + # Load RVM into a shell session *as a function* [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" -- cgit v1.2.3