[rocprofiler-systems] Apply new CMake formatting for the latest gersemi version (#1778)
* Fix cmake formatting * Updated rev. in `.pre-commit-config.yaml` * Pin the gersemi used in CI to v0.23.1, matching the pre-commit --------- Co-authored-by: Aleksandar Djordjevic <adjordje@amd.com> Co-authored-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
committed by
GitHub
parent
42cc721a4b
commit
f39a60ac25
@@ -79,8 +79,7 @@ else()
|
||||
|
||||
if(EXISTS "${LibDebuginfod_INCLUDE_DIRS}/version.h")
|
||||
file(
|
||||
STRINGS
|
||||
"${LibDebuginfod_INCLUDE_DIRS}/version.h"
|
||||
STRINGS "${LibDebuginfod_INCLUDE_DIRS}/version.h"
|
||||
_version_line
|
||||
REGEX "^#define _ELFUTILS_VERSION[ \t]+[0-9]+"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user