null+****@clear*****
null+****@clear*****
2012年 5月 17日 (木) 23:52:18 JST
Kouhei Sutou 2012-05-17 23:52:18 +0900 (Thu, 17 May 2012) New Revision: 9354029876ee5f5876e73921e26fa09ee11ca793 Log: cmake windows: install groonga.dll to bin directory Modified files: lib/CMakeLists.txt Modified: lib/CMakeLists.txt (+6 -1) =================================================================== --- lib/CMakeLists.txt 2012-05-17 23:22:16 +0900 (43d5b1b) +++ lib/CMakeLists.txt 2012-05-17 23:52:18 +0900 (117ea7d) @@ -35,4 +35,9 @@ target_link_libraries(libgroonga ${DL_LIBS} ${WS2_32_LIBS}) -install(TARGETS libgroonga DESTINATION "${CMAKE_INSTALL_PREFIX}/lib") +if(WIN32) + set(LIBGROONGA_INSTALL_DIR "${BIN_DIR}") +else() + set(LIBGROONGA_INSTALL_DIR "${LIB_DIR}") +endif() +install(TARGETS libgroonga DESTINATION "${LIBGROONGA_INSTALL_DIR}")