Navigation Menu

Skip to content

Commit

Permalink
cmake: set CMAKE_SOURCE_DIR for embedded storage engine
Browse files Browse the repository at this point in the history
refs #1544
  • Loading branch information
kenhys committed Nov 16, 2012
1 parent bd54e65 commit c7e39a0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Expand Up @@ -47,7 +47,12 @@ read_file_list(${CMAKE_CURRENT_SOURCE_DIR}/lib/libmrn_need_mysql_sources.am
string(REGEX REPLACE "([^;]+)" "lib/\\1"
LIBMRN_NEED_MYSQL_SOURCES "${LIBMRN_NEED_MYSQL_SOURCES}")

set(MYSQL_SOURCE_DIR "PATH" CACHE PATH "MySQL source directory")
if(WITH_MROONGA_STORAGE_ENGINE)
set(MYSQL_SOURCE_DIR ${CMAKE_SOURCE_DIR} CACHE PATH "MySQL source directory")
else()
set(MYSQL_SOURCE_DIR "PATH" CACHE PATH "MySQL source directory")
endif()

set(MYSQL_INCLUDE_DIRS
"${MYSQL_BUILD_DIR}/include"
"${MYSQL_SOURCE_DIR}/sql"
Expand Down

0 comments on commit c7e39a0

Please sign in to comment.