Fix CMake problem with headers, fixed sourcery cross compile detection

This commit is contained in:
Thulinma 2017-03-07 17:00:49 +01:00
parent 0ea100758d
commit 907d48b7e5
2 changed files with 7 additions and 5 deletions

View file

@ -8,7 +8,7 @@
int main(int argc, char* argv[]){
if (argc < 4) {
std::cerr << "Usage: " << argv[0] << " <inputFile> <variableName> <outputFile>" << std::endl;
return 1;
return 2;
}
std::ofstream tmp(argv[3]);
//begin the first line