add_library( common_objects OBJECT
src/symtab.c
+ src/logging.c
src/mbuf_api.c
src/wrapper.c
)
$<INSTALL_INTERFACE:include>
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()