]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: check for empty string by its value
authorKefu Chai <kchai@redhat.com>
Mon, 26 Apr 2021 14:38:35 +0000 (22:38 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 2 May 2021 00:15:15 +0000 (08:15 +0800)
commitd275875b0e3d76bfe603dbc95e55e309e9b72e10
tree7932452100e314ef2a39d523d8859cf819ddd757
parent5093c6f36e1ac7f98fbc9f62ed9c46bc8c2efb81
cmake: check for empty string by its value

the behavior of cmake 3.17 is a little bit different as it consider

NOT _library STREQUAL ""

as true, if ${_library} is "".

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/FindStdFilesystem.cmake