* fixed letter case of included file names
* C language definition is needed for CheckForPthreads.c
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1c2f2e..a70616b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@
set (PACKAGE_TARNAME "${PROJECT_NAME}-${PACKAGE_VERSION}")
set (PACKAGE_BUGREPORT "https://code.google.com/p/gflags/issues/")
-project (${PROJECT_NAME} CXX)
+project (${PROJECT_NAME} CXX C)
version_numbers (
${PACKAGE_VERSION}
@@ -62,7 +62,7 @@
# system checks
include (CheckTypeSize)
include (CheckIncludeFileCXX)
-include (CheckCxxSymbolExists)
+include (CheckCXXSymbolExists)
set (GFLAGS_INTTYPES_FORMAT "" CACHE STRING "Format of integer types: \"C99\" (uint32_t), \"BSD\" (u_int32_t), \"VC7\" (__int32)")
mark_as_advanced(GFLAGS_INTTYPES_FORMAT)
diff --git a/cmake/FindThreadsCxx.cmake b/cmake/FindThreadsCxx.cmake
index 0e33bf9..c2fb259 100644
--- a/cmake/FindThreadsCxx.cmake
+++ b/cmake/FindThreadsCxx.cmake
@@ -35,7 +35,7 @@
include (CheckIncludeFileCXX)
include (CheckLibraryExists)
-include (CheckCxxSymbolExists)
+include (CheckCXXSymbolExists)
set(Threads_FOUND FALSE)
# Do we have sproc?