Skip to content

Commit

Permalink
COMP: test for platform
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa authored Nov 25, 2024
1 parent 0c788ed commit 3ecef1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

CXX_STD=CXX17
JTHREADS=4
if [[ `uname` -eq Darwin ]] ; then
if [[ `uname` == 'Darwin' ]] ; then
CMAKE_BUILD_TYPE=Release
fi
if [[ $TRAVIS -eq true ]] ; then
Expand Down Expand Up @@ -58,7 +58,7 @@ mkdir -p itkb
cd itkb
compcflags=" -fPIC -O2 -Wno-c++11-long-long "
compcxxflags=" ${compcflags} "
if [[ `uname` -eq Darwin ]] ; then
if [[ `uname` == 'Darwin' ]] ; then
compcxxflags=" ${compcflags} -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1 -stdlib=libc++ "
fi
cmaker=`${R_HOME}/bin/Rscript -e "x=Sys.which('cmake'); cat(x)"`
Expand Down

0 comments on commit 3ecef1e

Please sign in to comment.