> > On Wed, Oct 19, 2016 at 09:35:15PM +0000, Weiny, Ira wrote: > > > set(rdma_ndd_CONFIG_PATH "${CMAKE_INSTALL_SYSCONFDIR}") > configure_file > > ("${PROJECT_SOURCE_DIR}/rdma-ndd/rdma-config.h.in" > > "${PROJECT_BINARY_DIR}/rdma-ndd/rdma-config.h") > > include_directories("${PROJECT_BINARY_DIR}/rdma-ndd") > > Please just use the existing buildlib/config.h.in and put in: > > #define RDMA_NDD_CONFIG_FILE > "@CMAKE_INSTALL_FULL_SYSCONFDIR@/rdma-ndd.conf" > > Nothing else is needed, please don't add more config.h's. Fair enough, I missed that as it was buried in buildlib... > > > #define RDMA_NDD_CONFIG_PATH "etc" > > This is the difference between the 'FULL' and normal path versions in the cmake > scheme. The FULL version must be used everyplace needing an absolute path, > the other verions are used with install and have to do with making DESTDIR > work properly. Good to know... I think the biggest issue I have with cmake is that I finally feel like I understand autotools and now I have to learn another system... :-P Ira -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html