Merge pull request #12785 from wjwithagen/wip-wjw-cmake-parse_secret_objs

src/CMakeLists.txt: Move parse_secret_objs setting within definition block

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-01-05 20:43:34 +08:00 committed by GitHub
commit 9681c49905

View File

@ -827,8 +827,8 @@ add_subdirectory(bash_completion)
if(WITH_LIBCEPHFS OR WITH_RBD)
set(parse_secret_files
common/secret.c)
add_library(parse_secret_objs OBJECT ${parse_secret_files})
endif()
add_library(parse_secret_objs OBJECT ${parse_secret_files})
if(WITH_LIBCEPHFS)
add_subdirectory(client)