X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fcommon%2FCMakeLists.txt;h=35833bfbd809b220f45e1ae6490fe511fab21556;hb=0d4def6c7b673f3be486338ced65ccdd25a859ed;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..35833bf 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_root}/${install_inc} + ) +endif()