File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
generate_parameter_library/cmake Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ function(generate_parameter_library LIB_NAME YAML_FILE)
77
77
add_library (${LIB_NAME} INTERFACE ${PARAM_HEADER_FILE} ${VALIDATE_HEADER} )
78
78
target_include_directories (${LIB_NAME} INTERFACE
79
79
$< BUILD_INTERFACE:${LIB_INCLUDE_DIR} >
80
- $< INSTALL_INTERFACE:include/${LIB_NAME} >
80
+ $< INSTALL_INTERFACE:include/${PROJECT_NAME} / ${ LIB_NAME}>
81
81
)
82
82
set_target_properties (${LIB_NAME} PROPERTIES LINKER_LANGUAGE CXX )
83
83
target_link_libraries (${LIB_NAME} INTERFACE
@@ -89,7 +89,7 @@ function(generate_parameter_library LIB_NAME YAML_FILE)
89
89
tcb_span::tcb_span
90
90
tl_expected::tl_expected
91
91
)
92
- install (DIRECTORY ${LIB_INCLUDE_DIR} DESTINATION include /${LIB_NAME} )
92
+ install (DIRECTORY ${LIB_INCLUDE_DIR} DESTINATION include /${PROJECT_NAME}/${ LIB_NAME} )
93
93
endfunction ()
94
94
95
95
@@ -128,7 +128,7 @@ function(generate_parameter_module LIB_NAME YAML_FILE)
128
128
add_library (${LIB_NAME} INTERFACE ${PARAM_HEADER_FILE} ${VALIDATE_HEADER} )
129
129
target_include_directories (${LIB_NAME} INTERFACE
130
130
$< BUILD_INTERFACE:${LIB_INCLUDE_DIR} >
131
- $< INSTALL_INTERFACE:include/${LIB_NAME} >
131
+ $< INSTALL_INTERFACE:include/${PROJECT_NAME} / ${ LIB_NAME}>
132
132
)
133
133
134
134
endfunction ()
You can’t perform that action at this time.
0 commit comments