cmake/FindLibgsasl: fix to set `LIBGSASL_VERSION` with pkg-config detection
No binary (build failed)
—
(log yok)
| @@ -46,6 +46,7 @@ endif() | |
| if(_libgsasl_FOUND) | |
| set(Libgsasl_FOUND TRUE) | |
| set(LIBGSASL_FOUND TRUE) | |
| + | set(LIBGSASL_VERSION ${_libgsasl_VERSION}) |
| message(STATUS "Found Libgsasl (via pkg-config): ${_libgsasl_INCLUDE_DIRS} (found version \"${LIBGSASL_VERSION}\")") | |
| else() | |
| find_path(LIBGSASL_INCLUDE_DIR NAMES "gsasl.h") | |