# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2015-06-21 05:25:26 # Node ID 75c3fe77fbe5d0cf1f44f8dc4f9c2a8c057f7c4b # Parent 262a7043320e618b01bd89fb25578ba0bf621e0c add libraries to windows installer diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,6 +113,13 @@ add_custom_target(run # installing install(TARGETS serialplot DESTINATION bin) +# for windows put libraries to install directory +if (WIN32) + file(GLOB WINDOWS_INSTALL_LIBRARIES + "${CMAKE_BINARY_DIR}/windows_install_libraries/*.*") + install(FILES ${WINDOWS_INSTALL_LIBRARIES} DESTINATION bin) +endif (WIN32) + # install menu item and icon find_program(XDG-DESKTOP-MENU xdg-desktop-menu) find_program(XDG-ICON-RESOURCE xdg-icon-resource)