Commit 70eb1d6
committed
cmake/cephfs: fix options to enable client and dependencies
invoking cmake with -DWITH_LIBCEPHFS=OFF fails to configure the client target:
CMake Error at src/client/CMakeLists.txt:13 (target_link_libraries):
Target "client" links to:
Boost::locale
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
because the client target is not conditional on WITH_LIBCEPHFS in src/CMakeLists.txt:
add_subdirectory(client)
if(WITH_LIBCEPHFS)
because client is also needed for ceph-fuse, make the client and its
dependencies depend on WITH_LIBCEPHFS OR WITH_FUSE
Signed-off-by: Casey Bodley <[email protected]>1 parent d492e85 commit 70eb1d6
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
| 732 | + | |
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
836 | | - | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
837 | 840 | | |
838 | 841 | | |
839 | 842 | | |
| |||
0 commit comments