diff options
author | Brad King <brad.king@kitware.com> | 2015-09-24 19:21:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-24 19:26:32 (GMT) |
commit | 710bde43aa5ed1ccfbcffa01d3d86a4eecbbe849 (patch) | |
tree | 3fcdacd95dcbd8d9829be02345a5153e3acf41b9 /Tests | |
parent | cbfae8c3f2c971441d4943a630efe7b186ee0c44 (diff) | |
download | CMake-710bde43aa5ed1ccfbcffa01d3d86a4eecbbe849.zip CMake-710bde43aa5ed1ccfbcffa01d3d86a4eecbbe849.tar.gz CMake-710bde43aa5ed1ccfbcffa01d3d86a4eecbbe849.tar.bz2 |
cmCoreTryCompile: Fix internal argument vector construction
In TryCompileCode we construct an internal argv[] vector that needs to
have a fake argv[0] so our internal cmake command line looks like a real
command line. Fix construction of the fake argv[0] when try_compile is
called without the CMAKE_FLAGS argument. Otherwise the first internal
-DVAR=val argument that we use to pass information like
CMAKE_OSX_SYSROOT is ignored.
Diffstat (limited to 'Tests')
0 files changed, 0 insertions, 0 deletions