From 751ebe44fda4deb715fc2235548517c287f2a559 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 9 Aug 2017 21:39:18 +0200 Subject: Add feature summary at the end of cmake. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This gives a short overview over found/missing dependencies as well as enabled/disabled features. Initial author Heinz Wiesinger Additions by Vicențiu Ciorbaru * Report all plugins enabled via MYSQL_ADD_PLUGIN * Simplify code. Eliminate duplication by making use of WITH_xxx variable values to set feature "ON" / "OFF" state. Reviewed by: wlad@mariadb.com (code details) serg@mariadb.com (the idea) --- plugin/auth_gssapi/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'plugin/auth_gssapi') diff --git a/plugin/auth_gssapi/CMakeLists.txt b/plugin/auth_gssapi/CMakeLists.txt index 4d3718dd471..11063df0884 100644 --- a/plugin/auth_gssapi/CMakeLists.txt +++ b/plugin/auth_gssapi/CMakeLists.txt @@ -11,6 +11,7 @@ IF(USE_SSPI) ELSE() SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) FIND_PACKAGE(GSSAPI) + SET_PACKAGE_PROPERTIES(GSSAPI PROPERTIES TYPE OPTIONAL) IF(GSSAPI_FOUND) INCLUDE_DIRECTORIES(${GSSAPI_INCS}) ADD_DEFINITIONS(-DPLUGIN_GSSAPI) -- cgit v1.2.1