mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 08:37:25 +00:00
cmake: Fix runtime library install location in mingw
This install DLLs in bin directory instead of lib. Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
This commit is contained in:
parent
0f2e87bdf5
commit
d7e0ee42b8
3
ChangeLog.d/cmake_fix_dll_install.txt
Normal file
3
ChangeLog.d/cmake_fix_dll_install.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Changes
|
||||||
|
* cmake: Fix runtime library install location in mingw
|
||||||
|
This install DLLs in bin directory instead of lib.
|
@ -291,7 +291,9 @@ foreach(target IN LISTS target_libraries)
|
|||||||
install(
|
install(
|
||||||
TARGETS ${target}
|
TARGETS ${target}
|
||||||
EXPORT MbedTLSTargets
|
EXPORT MbedTLSTargets
|
||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
|
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
|
||||||
endforeach(target)
|
endforeach(target)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user