]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: set WITH_FMT_VERSION as a STRING option
authorKefu Chai <tchaikov@gmail.com>
Sun, 18 Dec 2022 02:47:42 +0000 (10:47 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sun, 18 Dec 2022 02:47:42 +0000 (10:47 +0800)
commit0d41777cea1720cdf3fc54e182325b4440b08d40
tree841e5cb2318e444e542ae3e3bdddeed90e2c2b06
parenta2bed043235bba82ee3ca121759a3406bda61787
cmake: set WITH_FMT_VERSION as a STRING option

option() defines a boolean, so its default value cannot be populated
to find_package() as expected. so we need to set it as a cached STRING
variable.

this addresses the regression introduced by 051ec194df16927187cbe4b26dacd06c31fa186a

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/CMakeLists.txt