mirror of
https://github.com/transmission/transmission
synced 2025-01-30 19:03:04 +00:00
Restore support for the INSTALL_LIB option (#1756)
It appears this was removed by accident.
Fixes: 677dc73eac
This commit is contained in:
parent
79e8bc5c46
commit
409f59889b
1 changed files with 5 additions and 0 deletions
|
@ -294,3 +294,8 @@ endif()
|
|||
if(WIN32)
|
||||
target_link_libraries(${TR_NAME} crypt32 shlwapi)
|
||||
endif()
|
||||
|
||||
if(INSTALL_LIB)
|
||||
install(TARGETS ${TR_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
install(FILES ${${PROJECT_NAME}_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${TR_NAME})
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue