We need g++5 for C++11 with codecvt.
This commit is contained in:
parent
5d783bf82e
commit
dbaf5189bc
|
@ -707,7 +707,7 @@ public abstract class BaseCppTest {
|
||||||
String propName = getPropertyPrefix() + "-compiler";
|
String propName = getPropertyPrefix() + "-compiler";
|
||||||
String prop = System.getProperty(propName);
|
String prop = System.getProperty(propName);
|
||||||
if(prop==null || prop.length()==0)
|
if(prop==null || prop.length()==0)
|
||||||
prop = locateTool("g++"); // Also try cc
|
prop = locateTool("g++5");
|
||||||
File file = new File(prop);
|
File file = new File(prop);
|
||||||
if(!file.exists())
|
if(!file.exists())
|
||||||
throw new RuntimeException("Missing system property:" + propName);
|
throw new RuntimeException("Missing system property:" + propName);
|
||||||
|
|
Loading…
Reference in New Issue