Skip to content

Commit 70bd652

Browse files
committed
gen config fix
1 parent a1207e6 commit 70bd652

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/libs/logging/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
# Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
33
# other details. No copyright assignment is required to contribute to Ascent.
44

5+
56
# gen config header
7+
set(ASCENT_LOGGING_ENABLE_CALIPER ${CALIPER_FOUND})
68
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/ascent_logging_config.h.in"
79
"${CMAKE_CURRENT_BINARY_DIR}/ascent_logging_config.h")
810

src/libs/logging/ascent_logging_config.h.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
#ifndef ASCENT_LOGGING_CONFIG_H
1515
#define ASCENT_LOGGING_CONFIG_H
1616

17-
#cmakedefine ASCENT_LOGGING_CALIPER_ENABLED "@CALIPER_FOUND@"
17+
#cmakedefine ASCENT_LOGGING_ENABLE_CALIPER "@CALIPER_FOUND@"
1818

1919
#endif

0 commit comments

Comments
 (0)