Skip to content

Commit

Permalink
build/ops: fix case-sensitive find_package call
Browse files Browse the repository at this point in the history
The FindGTest.cmake module is part of the upstream cmake [1] (so it should
be the same in all distros), and it is named "FindGTest.cmake", not
"Findgtest.cmake". Fix the find_package() call introduced by
ceph#14330 so the case matches.

This fixes SUSE builds broken by that PR.

[1] https://cmake.org/cmake/help/v3.0/module/FindGTest.html

Signed-off-by: Nathan Cutler <ncutler@suse.com>
  • Loading branch information
smithfarm committed May 19, 2017
1 parent f6b388a commit edecda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dmclock/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if(K_WAY_HEAP)
endif()

if (NOT(TARGET gtest AND TARGET gtest_main))
find_package(gtest REQUIRED)
find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS})
endif()

Expand Down

0 comments on commit edecda0

Please sign in to comment.