est31 4abb96fb54 Fix path detection with --std= parameter
Fixes path detection when compilers have been told to follow a standard, e.g. with -DCMAKE_CXX_FLAGS=--std=c++98.
To see the passed defines, try this with and without the --std parameter:
gcc -E -dM --std=c99 - < /dev/null | grep linux
2015-04-17 05:12:06 +02:00
..
2015-03-27 15:00:48 -04:00
2015-03-27 15:00:48 -04:00
2015-03-27 15:00:48 -04:00
2015-02-17 15:07:05 +01:00
2014-08-22 22:03:08 +02:00
2013-09-15 23:00:01 -04:00
2015-03-04 23:53:58 +00:00
2015-03-29 22:27:01 +10:00
2015-03-31 16:24:25 +10:00
2015-04-05 09:25:46 +02:00
2015-03-27 15:16:41 -04:00
2014-11-30 17:50:09 +01:00
2014-11-19 16:21:59 -05:00
2015-03-25 02:30:17 +10:00
2014-01-13 18:11:08 -05:00
2014-11-30 18:06:54 +01:00
2013-07-20 20:37:59 +02:00
2014-06-29 18:17:56 +02:00
2014-12-31 02:44:31 +10:00
2014-12-31 02:44:31 +10:00
2015-04-12 04:27:26 +01:00
2015-04-02 22:56:36 +10:00
2015-03-31 23:50:38 -04:00
2014-06-29 18:17:56 +02:00
2014-11-19 16:21:59 -05:00
2014-11-19 16:21:59 -05:00
2014-11-19 16:21:59 -05:00
2014-09-20 14:02:54 -04:00
2015-01-23 21:38:34 +10:00
2014-06-15 05:40:33 +02:00
2013-09-15 23:00:01 -04:00
2014-07-02 16:48:11 +02:00
2015-03-27 15:00:48 -04:00
2015-03-27 15:00:48 -04:00