X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fcommon%2FCMakeLists.txt;h=b499a8f8fd7f63060c7103d61a1cc5df2dcdce28;hb=0b79fc264eea2591ad6f645d0c90cc378ea5603b;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..b499a8f 100644 --- a/src/rmr/common/CMakeLists.txt +++ b/src/rmr/common/CMakeLists.txt @@ -30,10 +30,12 @@ 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/RIC_message_types.h + DESTINATION ${install_root}/${install_inc} + ) +endif()