From c1a37101ea87a973068f2dc9858487f83ae57f88 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 28 May 2016 16:38:09 +0800 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- src/ocf/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 167f7ff51aa7..26f4d17ff62a 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 8b90499062cb..781a8822b6ec 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 -- 2.47.3