Skip to content
Snippets Groups Projects
Commit 9a6b7c3f authored by Matt McCormick's avatar Matt McCormick
Browse files

cmake: Set CMP0056 to NEW

When Android is compiled with "-static" in CMAKE_EXE_LINKER_FLAGS, only the
shared version of libc has utimensat.  By setting CMP0056 to NEW,
CMAKE_EXE_LINKER_FLAGS is passed to the try_compile in KWSYS_PLATFORM_CXX_TEST
so KWSYS_CXX_HAS_UTIMENSAT gets the correct result.

Change-Id: Ia5ff7abaafb92e043927b57c5f2858259195235f
parent b1d560a0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment