X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fcommon%2FCMakeLists.txt;h=7b9ebf3aa50f354a0c4460fef563d39e4ab63905;hb=15fb8a6128ee4f8b4d7096f13422aebe4afd2fec;hp=efd848049acd7983db81741fd57a81a7a57c912d;hpb=68c1ab2191d9959fde0bd275a560f7c9cf6df485;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/common/CMakeLists.txt b/src/rmr/common/CMakeLists.txt index efd8480..7b9ebf3 100644 --- a/src/rmr/common/CMakeLists.txt +++ b/src/rmr/common/CMakeLists.txt @@ -21,6 +21,7 @@ add_library( common_objects OBJECT src/symtab.c + src/logging.c src/mbuf_api.c src/wrapper.c ) @@ -30,10 +31,13 @@ target_include_directories (common_objects PUBLIC $ PRIVATE src) -# we have to force headers to install -install( FILES - include/rmr.h - include/rmr_symtab.h - include/RIC_message_types.h - DESTINATION ${install_root}/${install_inc} -) +# we have to force headers to install, and only if we are generating a development package +if( DEV_PKG ) + install( FILES + include/rmr.h + include/rmr_symtab.h + include/rmr_logging.h + include/RIC_message_types.h + DESTINATION ${install_inc} + ) +endif()