Commit 2e747bc7 authored by Glenn Scott's avatar Glenn Scott

Merge pull request #2 from isolis/3949-rpath-update

Let the library use rpath
parents 20e4c7f4 2953589b
......@@ -18,7 +18,6 @@ include( detectCacheSize )
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_C_FLAGS_NOPANTS "${CMAKE_C_FLAGS_NOPANTS} -O3 -DNDEBUG -DCCNxTransport_DISABLE_VALIDATION -DLIBRTA_DISABLE_VALIDATION -DTransportLibrary_DISABLE_VALIDATION")
link_directories($ENV{CCNX_DEPENDENCIES}/lib)
include_directories($ENV{CCNX_DEPENDENCIES}/include)
set(OPENSSL_ROOT_DIR $ENV{CCNX_DEPENDENCIES})
......
......@@ -78,7 +78,6 @@ set(libccnx_api_control_libraries
foreach(lib ${libccnx_api_control_libraries})
install(TARGETS ${lib} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
set_property(TARGET ${lib} PROPERTY C_STANDARD 99)
set_property(TARGET ${lib} PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
endforeach()
install(FILES ${CCNX_API_CONTROL_HEADERS} DESTINATION include/ccnx/api/control )
......
......@@ -32,7 +32,6 @@ set(libccnx_api_notify_libraries
foreach(lib ${libccnx_api_notify_libraries})
install(TARGETS ${lib} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
set_property(TARGET ${lib} PROPERTY C_STANDARD 99)
set_property(TARGET ${lib} PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
endforeach()
install(FILES ${CCNX_API_NOTIFY_HEADERS} DESTINATION include/ccnx/api/notify )
......
......@@ -198,7 +198,6 @@ set(libccnx_transport_rta_libraries
foreach(lib ${libccnx_transport_rta_libraries})
install(TARGETS ${lib} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
set_property(TARGET ${lib} PROPERTY C_STANDARD 99)
set_property(TARGET ${lib} PROPERTY INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
endforeach()
install(FILES ${BASE_HDRS} DESTINATION include/ccnx/transport )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment