Skip to content

Commit

Permalink
Don't limit ourselves to GCC/G++ 4.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Aug 6, 2017
1 parent 32db84c commit b554fae
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scripts/genericmake
Expand Up @@ -11,12 +11,6 @@ fi

shift

if [ "`uname -s`" = "Linux" ]; then
compilers="-DCMAKE_C_COMPILER=/usr/bin/gcc-4.9 -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.9"
else
compilers=""
fi

if [ "`hash ninja 2>&1`" = "" ]; then
ninjaFound=true
generator="Ninja"
Expand All @@ -37,7 +31,7 @@ echo "\033[44;37;1mMaking OpenCOR$titleTests (using $generator)...\033[0m"

cd build

cmake -G "$cmakeGenerator" $compilers -DCMAKE_BUILD_TYPE=$cmakeBuildType -DENABLE_TESTS=$enableTests ..
cmake -G "$cmakeGenerator" -DCMAKE_BUILD_TYPE=$cmakeBuildType -DENABLE_TESTS=$enableTests ..

exitCode=$?

Expand Down

0 comments on commit b554fae

Please sign in to comment.