HAYASHI Kentaro
null+****@clear*****
Thu Oct 11 18:22:30 JST 2012
HAYASHI Kentaro 2012-10-11 18:22:30 +0900 (Thu, 11 Oct 2012) New Revision: 1e55f2656e3b4e318040e3c974aa1221b27c4445 https://github.com/mroonga/mroonga/commit/1e55f2656e3b4e318040e3c974aa1221b27c4445 Log: cmake win32: add import libraries Modified files: CMakeLists.txt Modified: CMakeLists.txt (+7 -1) =================================================================== --- CMakeLists.txt 2012-10-11 17:45:18 +0900 (cad9f1f) +++ CMakeLists.txt 2012-10-11 18:22:30 +0900 (ef05e88) @@ -110,7 +110,13 @@ if(WIN32) COMPILE_DEFINITIONS "DBUG_OFF" "_CRT_SECURE_NO_WARNINGS") endif() -target_link_libraries(ha_mroonga ${GROONGA_LIBRARIES}) +if(WIN32) + set(MYSQL_IMPORT_LIBRARIES + "libmysqld${IMPORT_SUFFIX};mysqlserver${IMPORT_SUFFIX}") + target_link_libraries(ha_mroonga ${GROONGA_LIBRARIES} ${MYSQL_IMPORT_LIBRARIES}) +else() + target_link_libraries(ha_mroonga ${GROONGA_LIBRARIES}) +endif() option(WITH_DEBUG "Enable debug options" OFF) if(WITH_DEBUG) -------------- next part -------------- HTML����������������������������...Download