mirror of
https://github.com/darlinghq/darling-cfnetwork.git
synced 2024-11-23 11:49:45 +00:00
Updated build file
This commit is contained in:
parent
36889aec64
commit
95f2c4d56a
@ -23,11 +23,11 @@ set(cfnetwork_sources
|
||||
src/CFSocketStream.c
|
||||
)
|
||||
|
||||
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(cfnetwork SHARED ${cfnetwork_sources})
|
||||
target_link_libraries(cfnetwork CFFExtra)
|
||||
|
||||
install(TARGETS cfnetwork DESTINATION lib${SUFFIX}/darling)
|
||||
install(TARGETS cfnetwork DESTINATION ${CMAKE_INSTALL_LIBDIR}/darling)
|
||||
|
Loading…
Reference in New Issue
Block a user