From f479174573d559d65fbb8808ade7b5add0ba0c37 Mon Sep 17 00:00:00 2001 From: Andreas Franek Date: Mon, 17 Mar 2014 09:38:15 +0100 Subject: [PATCH] * fixed letter case of included file names * C language definition is needed for CheckForPthreads.c --- CMakeLists.txt | 4 ++-- cmake/FindThreadsCxx.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c1c2f2e..a70616b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ set (PACKAGE_STRING "${PROJECT_NAME} ${PACKAGE_VERSION}") 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 @@ endif () # 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?