mirror of
https://github.com/darlinghq/darling-liblzma.git
synced 2024-11-23 10:19:43 +00:00
Updated build file
This commit is contained in:
parent
021f30634a
commit
11167a3b2a
@ -119,11 +119,11 @@ set(lzma_sources
|
||||
)
|
||||
|
||||
|
||||
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${SUFFIX}/darling")
|
||||
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/darling")
|
||||
SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
|
||||
add_library(lzma SHARED ${lzma_sources})
|
||||
target_link_libraries(lzma system)
|
||||
|
||||
install(TARGETS lzma DESTINATION lib${SUFFIX}/darling)
|
||||
install(TARGETS lzma DESTINATION ${CMAKE_INSTALL_LIBDIR}/darling)
|
||||
|
Loading…
Reference in New Issue
Block a user