]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: fix a cmake error when with -DALLOCATOR=jemalloc. 23380/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Thu, 2 Aug 2018 08:37:39 +0000 (16:37 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Thu, 2 Aug 2018 08:38:53 +0000 (16:38 +0800)
commitab1497addc207275c9fbac9a9061767031b5c6c9
treebdc8f3895fb0315532c2f7e8f3afd8566ebe875c
parent8d36655fcba985d38819d76d10a90f6d1ceb342d
cmake: fix a cmake error when with -DALLOCATOR=jemalloc.

When exec: ./do_cmake.sh -DALLOCATOR=jemalloc. Met the following
messages:
>> CMake Error at cmake/modules/FindJeMalloc.cmake:28 (endforeach):
  endforeach An ENDFOREACH command was found outside of a proper FOREACH
  ENDFOREACH structure.  Or its arguments did not match the opening FOREACH
  command.
>> Call Stack (most recent call first):
  CMakeLists.txt:326 (find_package)

This bug introduce commit 8db629a14baf2aea99cf.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
cmake/modules/FindJeMalloc.cmake