Skip to content

Commit

Permalink
gen config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Nov 22, 2024
1 parent a1207e6 commit 70bd652
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/libs/logging/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
# other details. No copyright assignment is required to contribute to Ascent.


# gen config header
set(ASCENT_LOGGING_ENABLE_CALIPER ${CALIPER_FOUND})
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/ascent_logging_config.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/ascent_logging_config.h")

Expand Down
2 changes: 1 addition & 1 deletion src/libs/logging/ascent_logging_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
#ifndef ASCENT_LOGGING_CONFIG_H
#define ASCENT_LOGGING_CONFIG_H

#cmakedefine ASCENT_LOGGING_CALIPER_ENABLED "@CALIPER_FOUND@"
#cmakedefine ASCENT_LOGGING_ENABLE_CALIPER "@CALIPER_FOUND@"

#endif

0 comments on commit 70bd652

Please sign in to comment.