[Groonga-mysql-commit] mroonga/mroonga [master] cmake win32: add MYSQL_LIBRARY_DIRS

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Oct 11 18:51:10 JST 2012


HAYASHI Kentaro	2012-10-11 18:51:10 +0900 (Thu, 11 Oct 2012)

  New Revision: e5f4dc85c3465b0b12fa3eff713040ae6e631632
  https://github.com/mroonga/mroonga/commit/e5f4dc85c3465b0b12fa3eff713040ae6e631632

  Log:
    cmake win32: add MYSQL_LIBRARY_DIRS

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+7 -0)
===================================================================
--- CMakeLists.txt    2012-10-11 18:22:30 +0900 (ef05e88)
+++ CMakeLists.txt    2012-10-11 18:51:10 +0900 (126a0f0)
@@ -78,8 +78,15 @@ include_directories(
   ${GROONGA_INCLUDE_DIRS}
   )
 
+if(WIN32)
+  set(MYSQL_LIBRARY_DIRS
+    "${MYSQL_BUILD_DIR}/lib"
+    "${MYSQL_BUILD_DIR}/libmysqld"
+    )
+endif()
 link_directories(
   ${GROONGA_LIBRARY_DIRS}
+  ${MYSQL_LIBRARY_DIRS}
   )
 
 # TODO: set VERSIONINFO for Microsoft Visual C++.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index