We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2340cd commit ecd6588Copy full SHA for ecd6588
cmake/FindPMEM.cmake
@@ -1,3 +1,12 @@
1
+if(PMEM_LIBRARIES)
2
+ set(PMEM_FOUND TRUE)
3
+ return()
4
+endif()
5
+if(DEFINED PMEM_LIBRARIES)
6
+ set(PMEM_FOUND FALSE)
7
8
9
+
10
find_path(PMEM_INCLUDE_DIR NAMES libpmem.h)
11
find_library(PMEM_LIBRARIES NAMES pmem)
12
storage/innobase/CMakeLists.txt
@@ -337,7 +337,7 @@ SET(INNOBASE_SOURCES
337
ut/ut0wqueue.cc)
338
339
OPTION(WITH_PMEM "Support redo log in persistent memory" OFF)
340
-FIND_PACKAGE(PMEM QUIET)
+FIND_PACKAGE(PMEM)
341
IF(PMEM_FOUND)
342
INCLUDE_DIRECTORIES(${PMEM_INCLUDES})
343
ADD_COMPILE_FLAGS(log/log0log.cc COMPILE_FLAGS "-DHAVE_PMEM")
0 commit comments