Building in C++11 mode
@@ -29,7 +29,7 @@ test:
# Workaround for lack of CONDA_BUILD_SYSROOT variable in staged recipes
- export CONDA_BUILD_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk # [osx]
- cd source/test
- - ${CXX} testMass.cc -o testMass.exe -I${CONDA_PREFIX}/include -L${CONDA_PREFIX}/lib -lHepMC3
+ - ${CXX} -std=c++11 testMass.cc -o testMass.exe -I${CONDA_PREFIX}/include -L${CONDA_PREFIX}/lib -lHepMC3
- ./testMass.exe
about:
