diff --git a/generate_parameter_library/cmake/generate_parameter_library.cmake b/generate_parameter_library/cmake/generate_parameter_library.cmake index b34d4d2..c7cdf37 100644 --- a/generate_parameter_library/cmake/generate_parameter_library.cmake +++ b/generate_parameter_library/cmake/generate_parameter_library.cmake @@ -77,7 +77,7 @@ function(generate_parameter_library LIB_NAME YAML_FILE) add_library(${LIB_NAME} INTERFACE ${PARAM_HEADER_FILE} ${VALIDATE_HEADER}) target_include_directories(${LIB_NAME} INTERFACE $ - $ + $ ) set_target_properties(${LIB_NAME} PROPERTIES LINKER_LANGUAGE CXX) target_link_libraries(${LIB_NAME} INTERFACE @@ -89,7 +89,7 @@ function(generate_parameter_library LIB_NAME YAML_FILE) tcb_span::tcb_span tl_expected::tl_expected ) - install(DIRECTORY ${LIB_INCLUDE_DIR} DESTINATION include/${LIB_NAME}) + install(DIRECTORY ${LIB_INCLUDE_DIR} DESTINATION include/${PROJECT_NAME}/${LIB_NAME}) endfunction() @@ -128,7 +128,7 @@ function(generate_parameter_module LIB_NAME YAML_FILE) add_library(${LIB_NAME} INTERFACE ${PARAM_HEADER_FILE} ${VALIDATE_HEADER}) target_include_directories(${LIB_NAME} INTERFACE $ - $ + $ ) endfunction()