HAYASHI Kentaro
null+****@clear*****
Fri Nov 16 11:07:02 JST 2012
HAYASHI Kentaro 2012-11-16 11:07:02 +0900 (Fri, 16 Nov 2012) New Revision: a90e1858e41d011de66e1b7fdb7405e1d9c3fa44 https://github.com/mroonga/mroonga/commit/a90e1858e41d011de66e1b7fdb7405e1d9c3fa44 Log: cmake: detect mysql_config for embedded storage engine refs #1544 Modified files: CMakeLists.txt Modified: CMakeLists.txt (+6 -1) =================================================================== --- CMakeLists.txt 2012-11-16 11:00:26 +0900 (c71fbaf) +++ CMakeLists.txt 2012-11-16 11:07:02 +0900 (0c4a004) @@ -63,7 +63,12 @@ set(MYSQL_INCLUDE_DIRS set(MYSQL_BUILD_DIR ${MYSQL_SOURCE_DIR} CACHE PATH "MySQL build directory") -set(MYSQL_CONFIG "PATH" CACHE PATH "mysql-config command path") +if(WITH_MROONGA_STORAGE_ENGINE) + set(MYSQL_CONFIG ${CMAKE_SOURCE_DIR}/scripts/mysql_config + CACHE PATH "mysql-config command path") +else() + set(MYSQL_CONFIG "PATH" CACHE PATH "mysql-config command path") +endif() find_path(MYSQL_CONFIG "${MYSQL_CONFIG}") macro(SET_MYSQL_CONFIG_VALUE OPTION VARIABLE) -------------- next part -------------- HTML����������������������������... ダウンロード