From 296735c096cec1f8f7f04e5dd1ef6eed996da596 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Wed, 30 Jun 2021 23:19:11 +0200 Subject: [PATCH] WIP: pipeline --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb6df3e..8598f4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -219,6 +219,7 @@ install( # install(EXPORT ...) will install the information about an export. Here, we # save it to a file {$libcaosdb_LIB_DEST}/libcaosdbTargets.cmake and prepend # everything inside libcaosdbTargets with the namespace libcaosdb::. +set(libcaosdb_CMAKE_DEST "${libcaosdb_LIB_DEST}/cmake/caosdb") install( # The export we want to save (matches name defined above containing the # install targets) @@ -229,7 +230,7 @@ install( # will use caosdb::caosdb) NAMESPACE caosdb:: # where to place the resulting file (here, we're putting it with the library) - DESTINATION ${libcaosdb_LIB_DEST} + DESTINATION ${libcaosdb_CMAKE_DEST} ) ## install(FILES ...) simply puts files in a certain place with certain @@ -238,7 +239,7 @@ install(FILES ${libcaosdb_INCL} DESTINATION ${libcaosdb_INCLUDE_DEST}) install(FILES ${hw_grpc_hdrs} ${hw_proto_hdrs} DESTINATION ${libcaosdb_INCLUDE_DEST}/${hw_hdrs_path}) install(FILES ${PROJECT_SOURCE_DIR}/caosdbConfig.cmake - DESTINATION ${libcaosdb_LIB_DEST}) + DESTINATION ${libcaosdb_CMAKE_DEST}) -- GitLab