Skip to content
Snippets Groups Projects
Commit 5a299000 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

fixed cmake path

parent e4f71129
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -11,10 +11,11 @@ if [ -d "$1" ]; then ...@@ -11,10 +11,11 @@ if [ -d "$1" ]; then
exit 1 exit 1
fi fi
BUILD_FOLDER="$1" ROOT_DIR="$(pwd)"
mkdir -p $BUILD_FOLDER BUILD_DIR="$1"
cd $BUILD_FOLDER
CC="$2" CXX="$3" FC="$4" cmake -DCMAKE_BUILD_TYPE=Release .. mkdir -p $BUILD_DIR
cd $BUILD_DIR
CC="$2" CXX="$3" FC="$4" cmake -DCMAKE_BUILD_TYPE=Release $ROOT_DIR
exit 0 exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment