Skip to content

Commit

Permalink
install the ittnotify header
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Aug 21, 2023
1 parent 5d11936 commit 97c3c87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ file(GLOB AWS_COMMON_HEADERS
file (GLOB AWS_COMMON_EXTERNAL_HEADERS
"include/aws/common/external/*.h")

file (GLOB AWS_COMMON_EXTERNAL_INSTALLED_HEADERS
"include/aws/common/external/ittnotify.h")

file(GLOB AWS_TEST_HEADERS
"include/aws/testing/*.h"
)
Expand Down Expand Up @@ -221,7 +224,7 @@ if (HAVE_AVX2_INTRINSICS)
endif()

# Preserve subdirectories when installing headers
foreach(HEADER_SRCPATH IN ITEMS ${AWS_COMMON_HEADERS} ${AWS_COMMON_OS_HEADERS} ${GENERATED_CONFIG_HEADER} ${AWS_TEST_HEADERS})
foreach(HEADER_SRCPATH IN ITEMS ${AWS_COMMON_HEADERS} ${AWS_COMMON_OS_HEADERS} ${GENERATED_CONFIG_HEADER} ${AWS_TEST_HEADERS} ${AWS_COMMON_EXTERNAL_INSTALLED_HEADERS})
get_filename_component(HEADER_DIR ${HEADER_SRCPATH} DIRECTORY)
# Note: We need to replace the generated include directory component first, otherwise if the build
# directory is located inside the source tree, we'll partially rewrite the path and fail to replace it
Expand Down
2 changes: 1 addition & 1 deletion include/aws/common/external/ittnotify.h
Original file line number Diff line number Diff line change
Expand Up @@ -4662,4 +4662,4 @@ ITT_STUB(ITTAPI, const char*, api_version, (void))

#endif /* _ITTNOTIFY_PRIVATE_ */

#endif /* INTEL_ITTNOTIFY_API_PRIVATE */
#endif /* INTEL_ITTNOTIFY_API_PRIVATE */

0 comments on commit 97c3c87

Please sign in to comment.