-# 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()