]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: pass REQUIRED to find_package(StdFilesystem) 38320/head
authorKefu Chai <kchai@redhat.com>
Fri, 27 Nov 2020 15:54:27 +0000 (23:54 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Dec 2020 11:42:34 +0000 (19:42 +0800)
otherwise there is chance that we could link to
StdFilesystem::filesystem which is not defined anywhere.

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt

index 35949b11496c40943561320756f32c1450269616..65a81c9e100301ec25dc9a9bd7fe544db3d7431e 100644 (file)
@@ -626,7 +626,7 @@ set(WITH_MGR_ROOK_CLIENT WITH_MGR_DASHBOARD_FRONTEND)
 include_directories(SYSTEM ${PROJECT_BINARY_DIR}/include)
 
 find_package(Threads REQUIRED)
-find_package(StdFilesystem)
+find_package(StdFilesystem REQUIRED)
 
 option(WITH_SELINUX "build SELinux policy" OFF)
 if(WITH_SELINUX)