From f45dc88bf8b247189b303dfef400a540cce591e9 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Wed, 2 Oct 2024 22:51:01 +0200 Subject: [PATCH] Install header files into one folder all headers from one project are best kept in one place --- CMakeLists.txt | 4 ++-- meson.build | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6248b48c..4e7cb99a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,9 +178,9 @@ export(TARGETS TracyClient install(FILES ${tracy_includes} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy) install(FILES ${client_includes} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/client) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy/client) install(FILES ${common_includes} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/common) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tracy/common) install(EXPORT TracyConfig NAMESPACE Tracy:: FILE TracyTargets.cmake diff --git a/meson.build b/meson.build index a0b1bd5d..1fb4e62c 100644 --- a/meson.build +++ b/meson.build @@ -205,8 +205,8 @@ tracy = library('tracy', tracy_src, tracy_header_files, install : true) install_headers(includes, subdir : 'tracy') -install_headers(common_includes, subdir : 'common') -install_headers(client_includes, subdir : 'client') +install_headers(common_includes, subdir : 'tracy/common') +install_headers(client_includes, subdir : 'tracy/client') tracy_dep_compile_args = tracy_common_args