Commit 337e897a authored by Adam Simpkins's avatar Adam Simpkins Committed by Facebook Github Bot

cmake: remove DOS-style line endings

Summary:
A number of the files in CMake/ had inconsistent line-endings.  This updates
files using DOS-style CRLF line endings to just use CR instead.  On Windows,
git is capable of automatically changing CR to CRLF when checking out the
repository working directory.

Reviewed By: meyering

Differential Revision: D6714717

fbshipit-source-id: 82adccf4e522d38fd1cb420869f62e52dbd6c5f1
parent b22d1721
This diff is collapsed.
This diff is collapsed.
/* /*
* Copyright 2016 Facebook, Inc. * Copyright 2016 Facebook, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#pragma once #pragma once
#cmakedefine FOLLY_HAVE_PTHREAD 1 #cmakedefine FOLLY_HAVE_PTHREAD 1
#cmakedefine FOLLY_HAVE_PTHREAD_ATFORK 1 #cmakedefine FOLLY_HAVE_PTHREAD_ATFORK 1
#define FOLLY_HAVE_LIBGFLAGS 1 #define FOLLY_HAVE_LIBGFLAGS 1
#define FOLLY_UNUSUAL_GFLAGS_NAMESPACE 1 #define FOLLY_UNUSUAL_GFLAGS_NAMESPACE 1
#define FOLLY_GFLAGS_NAMESPACE google #define FOLLY_GFLAGS_NAMESPACE google
#cmakedefine FOLLY_HAVE_MALLOC_H 1 #cmakedefine FOLLY_HAVE_MALLOC_H 1
#cmakedefine FOLLY_HAVE_BITS_FUNCTEXCEPT_H 1 #cmakedefine FOLLY_HAVE_BITS_FUNCTEXCEPT_H 1
#cmakedefine FOLLY_HAVE_MEMRCHR 1 #cmakedefine FOLLY_HAVE_MEMRCHR 1
#cmakedefine FOLLY_HAVE_PREADV 1 #cmakedefine FOLLY_HAVE_PREADV 1
#cmakedefine FOLLY_HAVE_PWRITEV 1 #cmakedefine FOLLY_HAVE_PWRITEV 1
#cmakedefine FOLLY_HAVE_CLOCK_GETTIME 1 #cmakedefine FOLLY_HAVE_CLOCK_GETTIME 1
#cmakedefine FOLLY_HAVE_IFUNC 1 #cmakedefine FOLLY_HAVE_IFUNC 1
#cmakedefine FOLLY_HAVE_STD__IS_TRIVIALLY_COPYABLE 1 #cmakedefine FOLLY_HAVE_STD__IS_TRIVIALLY_COPYABLE 1
#cmakedefine FOLLY_HAVE_UNALIGNED_ACCESS 1 #cmakedefine FOLLY_HAVE_UNALIGNED_ACCESS 1
#cmakedefine FOLLY_HAVE_VLA 1 #cmakedefine FOLLY_HAVE_VLA 1
#cmakedefine FOLLY_HAVE_WEAK_SYMBOLS 1 #cmakedefine FOLLY_HAVE_WEAK_SYMBOLS 1
#define FOLLY_VERSION "${PACKAGE_VERSION}" #define FOLLY_VERSION "${PACKAGE_VERSION}"
//#define FOLLY_HAVE_LIBLZ4 1 //#define FOLLY_HAVE_LIBLZ4 1
//#define FOLLY_HAVE_LIBLZMA 1 //#define FOLLY_HAVE_LIBLZMA 1
//#define FOLLY_HAVE_LIBSNAPPY 1 //#define FOLLY_HAVE_LIBSNAPPY 1
//#define FOLLY_HAVE_LIBZ 1 //#define FOLLY_HAVE_LIBZ 1
//#define FOLLY_HAVE_LIBZSTD 1 //#define FOLLY_HAVE_LIBZSTD 1
find_package(Boost 1.55.0 MODULE find_package(Boost 1.55.0 MODULE
COMPONENTS COMPONENTS
context context
chrono chrono
date_time date_time
filesystem filesystem
program_options program_options
regex regex
system system
thread thread
REQUIRED REQUIRED
) )
find_package(DoubleConversion MODULE REQUIRED) find_package(DoubleConversion MODULE REQUIRED)
find_package(gflags CONFIG) find_package(gflags CONFIG)
if(NOT TARGET gflags) if(NOT TARGET gflags)
find_package(GFlags MODULE REQUIRED) find_package(GFlags MODULE REQUIRED)
endif() endif()
find_package(glog CONFIG) find_package(glog CONFIG)
if(NOT TARGET glog::glog) if(NOT TARGET glog::glog)
find_package(GLog MODULE REQUIRED) find_package(GLog MODULE REQUIRED)
endif() endif()
find_package(Libevent CONFIG) find_package(Libevent CONFIG)
if(NOT TARGET event) if(NOT TARGET event)
find_package(LibEvent MODULE REQUIRED) find_package(LibEvent MODULE REQUIRED)
endif() endif()
find_package(OpenSSL MODULE REQUIRED) find_package(OpenSSL MODULE REQUIRED)
find_package(PThread MODULE) find_package(PThread MODULE)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment