Add include for check symbol exists in cmakelists
authorViktor Hofer <viktor.hofer@microsoft.com>
Sat, 5 Jan 2019 18:03:37 +0000 (19:03 +0100)
committerViktor Hofer <viktor.hofer@microsoft.com>
Mon, 7 Jan 2019 19:27:00 +0000 (20:27 +0100)
Commit migrated from https://github.com/dotnet/corefx/commit/0c1d1d43170f259600749ce93850962374692e97

src/libraries/Native/Windows/clrcompression/CMakeLists.txt

index 98c292b..b22aeeb 100644 (file)
@@ -77,6 +77,7 @@ else()
     )
 endif()
 
+include (CheckSymbolExists)
 check_symbol_exists(vsnprintf stdio.h HAVE_VSNPRINTF)
 if (HAVE_VSNPRINTF) # HAVE_VSNPRINTF is CMAKE variable, compiler doesn't know about it yet
     add_definitions(-DHAVE_VSNPRINTF) # this is for the compiler