vcpkg/ports/libmodplug/005-fix-install-paths.patch
itsmattkc 711db4012d
[libmodplug] Patch CMakeLists.txt to fix install paths (#21381)
* [libmodplug] fix paths

* Update version database
2021-11-16 16:59:59 -08:00

17 lines
410 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 468f1a3..b58b11e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,7 +119,10 @@ add_library(modplug ${LIB_TYPE}
)
# install the library:
-install(TARGETS modplug DESTINATION lib)
+install(TARGETS modplug
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib)
# incstall the headers:
install(FILES