summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-07 18:15:19 +0100
committerAki <please@ignore.pl>2022-03-07 18:15:19 +0100
commita8477c1483374bb0aeb3eb9ac9caabe68a4afbb9 (patch)
treea174d635d09cc7740df3f3caae13826d2b38e5d2 /contrib
parentc8454e077864345833015a03ca6746bd54662642 (diff)
downloadstarshatter-a8477c1483374bb0aeb3eb9ac9caabe68a4afbb9.zip
starshatter-a8477c1483374bb0aeb3eb9ac9caabe68a4afbb9.tar.gz
starshatter-a8477c1483374bb0aeb3eb9ac9caabe68a4afbb9.tar.bz2
Changed to use find_file for dlls
Diffstat (limited to 'contrib')
-rw-r--r--contrib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
index b1201b8..2cd9971 100644
--- a/contrib/CMakeLists.txt
+++ b/contrib/CMakeLists.txt
@@ -9,7 +9,7 @@ install(
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)
+ find_file(LIBRARY_${LIB} ${LIB} PATHS ${CMAKE_FIND_ROOT_PATH}/bin)
if(LIBRARY_${LIB})
install(PROGRAMS ${LIBRARY_${LIB}} DESTINATION ${CMAKE_INSTALL_PREFIX})
endif()