Skip to content

Commit

Permalink
cmake: project name should be "ceph"
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tchaikov committed Jun 1, 2016
1 parent b02aaeb commit c1a3710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
3 changes: 1 addition & 2 deletions src/ocf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1a3710

Please sign in to comment.