forked from facebook/rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[rocksdb][PR] CMake: more MinGW fixes"
fbshipit-source-id: 43b4529
- Loading branch information
1 parent
a30b75c
commit 43010a9
Showing
6 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
# - Find JeMalloc library | ||
# Find the native JeMalloc includes and library | ||
# This module defines | ||
# JEMALLOC_INCLUDE_DIRS, where to find jemalloc.h, Set when | ||
# JEMALLOC_INCLUDE_DIR is found. | ||
# JEMALLOC_LIBRARIES, libraries to link against to use JeMalloc. | ||
# JEMALLOC_FOUND, If false, do not try to use JeMalloc. | ||
# | ||
# JEMALLOC_INCLUDE_DIR - where to find jemalloc.h, etc. | ||
# JEMALLOC_LIBRARIES - List of libraries when using jemalloc. | ||
# JEMALLOC_FOUND - True if jemalloc found. | ||
|
||
find_path(JEMALLOC_INCLUDE_DIR | ||
NAMES jemalloc/jemalloc.h | ||
HINTS ${JEMALLOC_ROOT_DIR}/include) | ||
jemalloc/jemalloc.h) | ||
|
||
find_library(JEMALLOC_LIBRARIES | ||
NAMES jemalloc | ||
HINTS ${JEMALLOC_ROOT_DIR}/lib) | ||
jemalloc) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(jemalloc DEFAULT_MSG JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR) | ||
find_package_handle_standard_args(JeMalloc DEFAULT_MSG | ||
JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR) | ||
|
||
mark_as_advanced( | ||
MARK_AS_ADVANCED( | ||
JEMALLOC_INCLUDE_DIR | ||
JEMALLOC_LIBRARIES | ||
JEMALLOC_INCLUDE_DIR) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters