Skip to content

Commit

Permalink
#2183: cmake: add checks for ldms header files
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander authored and JacobDomagala committed Sep 30, 2023
1 parent 9b8df4f commit d348a48
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmake/check_system_functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ check_function_exists(sysinfo vt_has_sysinfo)

set(CMAKE_REQUIRED_INCLUDES "mach/mach.h")
check_function_exists(mach_task_self vt_has_mach_task_self)

set(CMAKE_REQUIRED_INCLUDES "ldms/ldms.h")
check_function_exists(ldms_h vt_has_ldms_h)

set(CMAKE_REQUIRED_INCLUDES "ldms/ldmsd_stream.h")
check_function_exists(ldmsd_stream_h vt_has_ldmsd_stream_h)

set(CMAKE_REQUIRED_INCLUDES "ovis_util/util.h")
check_function_exists(ovis_util_h vt_has_ovis_util_h)

0 comments on commit d348a48

Please sign in to comment.