Merge pull request #899 from Jan200101/PR/header-merge

Install header files into one folder
This commit is contained in:
Bartosz Taudul 2024-10-02 22:55:31 +02:00 committed by GitHub
commit 4497201928
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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