X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fsupport%2FCMakeLists.txt;h=36a1edc441f2b84e99d4061f25be1621567acc66;hb=f8623e7dc17184b3359a5de8a81a54bb963469c7;hp=014723423969139d98b9e91fd3b3d6e3d1dea668;hpb=fc5c77b3d78988aa407118235d7f5978642df753;p=ric-plt%2Flib%2Frmr.git diff --git a/src/support/CMakeLists.txt b/src/support/CMakeLists.txt index 0147234..36a1edc 100644 --- a/src/support/CMakeLists.txt +++ b/src/support/CMakeLists.txt @@ -18,8 +18,16 @@ # # build support tools and setup for their install -add_executable( health_ck health_ck.c ) -target_link_libraries( health_ck rmr_si_shared;pthread;m ) + +# The health_ck binary is deprecated. We will stop building it soon. It is +# replaced with the rmr_probe binary. +add_executable( health_ck rmr_probe.c ) +add_dependencies( health_ck rmr_si_static ) +target_link_libraries( health_ck rmr_si_static;pthread;m ) + +add_executable( rmr_probe rmr_probe.c ) +add_dependencies( rmr_probe rmr_si_static ) +target_link_libraries( rmr_probe rmr_si_static;pthread;m ) include_directories( ${CMAKE_SOURCE_DIR}/src/rmr/common/include ) @@ -27,8 +35,8 @@ include_directories( ${CMAKE_SOURCE_DIR}/src/rmr/common/include ) # install only into the runtime package if( NOT DEV_PKG ) install( - TARGETS health_ck - DESTINATION ${install_root}/bin + TARGETS health_ck rmr_probe + DESTINATION bin ) endif()