From: Kefu Chai Date: Sat, 28 May 2016 08:38:09 +0000 (+0800) Subject: cmake: project name should be "ceph" X-Git-Tag: v11.0.0~358^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c1a37101ea87a973068f2dc9858487f83ae57f88;p=ceph.git cmake: project name should be "ceph" so it would be easier to figure out paths, also CMAKE_INSTALL_DOCDIR is composed using the PROJECT_NAME also. Signed-off-by: Kefu Chai --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 167f7ff51aa..26f4d17ff62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 2.8.11) -project(Ceph) +project(ceph) set(VERSION "10.2.1") if (NOT (CMAKE_MAJOR_VERSION LESS 3)) diff --git a/src/ocf/CMakeLists.txt b/src/ocf/CMakeLists.txt index 8b90499062c..781a8822b6e 100644 --- a/src/ocf/CMakeLists.txt +++ b/src/ocf/CMakeLists.txt @@ -3,9 +3,8 @@ # not "lib64" (even on 64-bit platforms). set(ocf_dir ${CMAKE_INSTALL_PREFIX}/lib/ocf) -string(TOLOWER ${PROJECT_NAME} lower_project_name) # The ceph provider directory -set(ra_dir ${ocf_dir}/resource.d/${lower_project_name}) +set(ra_dir ${ocf_dir}/resource.d/${PROJECT_NAME}) foreach(agent ceph rbd) configure_file(${agent}.in