mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
710bde43aa
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.
23 KiB
23 KiB