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(
|
||||
TARGETS ${target}
|
||||
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)
|
||||
endforeach(target)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user