Brad King
f9eee7f183
Windows: Search '/' prefix only when cross compiling ( #10994 )
...
Commit dac78148 (...makes the mingw cross compiler work out of the
box..., 2007-08-02) added to CMAKE_SYSTEM_PROGRAM_PATH and
CMAKE_SYSTEM_LIBRARY_PATH paths like "/bin" and "/lib" with no Windows
drive letter so that cross-compiling to Windows from Linux would search
these paths under CMAKE_FIND_ROOT_PATH. Later commit 2a782880 (...use
CMAKE_SYSTEM_PREFIX_PATH when possible, 2008-01-16) generalized this
approach by instead adding "/" to CMAKE_SYSTEM_PREFIX_PATH.
Both commits assumed that the paths would never match anything on
Windows hosts without a drive letter. However, Windows evaluates these
paths relative to the current working drive letter so find_* commands
may report paths like "/lib/..." when paths like "c:/lib/..." exist on
what happens to be current drive. Such drive-less paths are not
reliable when the working drive changes, so we should not use them.
Fix WindowsPaths.cmake to add '/' to CMAKE_SYSTEM_PREFIX_PATH only when
cross-compiling to Windows from a non-Windows host. This will avoid
searching and finding local paths without a drive letter on Windows.
2013-04-25 09:07:45 -04:00
..
2012-07-10 15:18:55 -04:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2013-03-12 13:47:04 -04:00
2009-09-30 09:37:35 -04:00
2009-09-30 09:37:35 -04:00
2011-08-02 17:26:29 -04:00
2011-03-02 13:48:04 -05:00
2011-03-02 11:20:50 -05:00
2011-03-02 11:20:50 -05:00
2011-03-02 11:20:50 -05:00
2013-03-11 09:01:27 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-06-12 15:37:53 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-02 13:26:01 -04:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2011-05-20 08:57:51 -04:00
2012-09-17 15:36:41 -04:00
2012-09-17 15:36:41 -04:00
2012-12-11 15:15:51 -05:00
2012-08-02 13:26:01 -04:00
2012-09-21 08:53:42 -04:00
2012-09-21 08:53:42 -04:00
2009-12-02 15:09:03 -05:00
2012-12-11 15:15:51 -05:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2010-12-09 18:12:34 -05:00
2009-09-30 09:37:35 -04:00
2009-09-30 09:37:35 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-12-11 15:15:52 -05:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-10-05 10:08:28 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2011-12-05 18:13:49 -05:00
2011-12-05 18:13:49 -05:00
2012-08-13 14:19:16 -04:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2010-08-09 08:48:31 -04:00
2011-12-14 09:32:27 -05:00
2011-12-14 09:32:27 -05:00
2011-12-14 09:32:27 -05:00
2011-12-14 09:32:27 -05:00
2012-06-12 15:37:53 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2011-05-20 08:57:51 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-02 13:26:01 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2010-08-09 08:48:31 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2010-12-09 18:12:34 -05:00
2010-01-21 09:09:27 -05:00
2010-01-21 09:09:27 -05:00
2010-01-21 09:09:27 -05:00
2012-06-12 15:37:53 -04:00
2009-12-04 10:21:57 -05:00
2009-12-04 10:21:57 -05:00
2009-12-04 10:21:57 -05:00
2012-06-12 15:37:53 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2009-08-07 10:13:07 -04:00
2009-09-16 12:33:24 -04:00
2009-08-07 10:13:07 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-10-05 10:08:28 -04:00
2012-12-04 08:25:33 -05:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2009-12-04 08:51:46 -05:00
2009-12-02 09:52:00 -05:00
2009-12-04 08:51:46 -05:00
2010-08-09 08:48:31 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-02-20 10:09:44 -05:00
2012-02-20 10:09:44 -05:00
2012-08-02 13:26:01 -04:00
2012-10-01 17:06:38 -04:00
2012-02-20 10:09:44 -05:00
2012-02-20 10:09:44 -05:00
2013-02-13 13:35:25 -05:00
2010-03-23 11:32:40 -04:00
2011-12-05 18:13:49 -05:00
2009-12-02 11:27:59 -05:00
2011-12-05 18:13:49 -05:00
2009-12-02 11:27:59 -05:00
2011-12-05 18:13:49 -05:00
2011-12-05 16:32:29 -05:00
2012-08-27 16:54:21 +02:00
2011-03-02 16:46:25 +01:00
2010-12-16 09:50:05 -05:00
2012-04-24 09:00:37 -04:00
2012-08-13 14:19:16 -04:00
2012-11-23 11:41:58 -05:00
2012-08-30 09:42:49 -04:00
2012-08-30 09:42:49 -04:00
2013-02-07 15:04:06 -05:00
2008-08-15 15:07:56 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-09-05 07:38:45 -04:00
2012-09-05 07:38:45 -04:00
2012-09-05 07:38:45 -04:00
2012-09-05 07:38:45 -04:00
2013-04-25 09:07:45 -04:00
2012-08-13 14:19:16 -04:00