diff options
Diffstat (limited to 'contrib/CMakeLists.txt')
-rw-r--r-- | contrib/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 3845b71..0c93c9c 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -8,3 +8,9 @@ install( RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX} ) +foreach(LIB IN ITEMS "libstdc++-6.dll" "libwinpthread-1.dll" "libgcc_s_dw2-1.dll") + find_library(LIBRARY_${LIB} ${LIB} PATHS ${CMAKE_FIND_ROOT_PATH}/bin) + if(LIBRARY_${LIB}) + install(FILES ${LIBRARY_${LIB}} DESTINATION ${CMAKE_INSTALL_PREFIX}) + endif() +endforeach() |