Skip to content

Commit b7eec9f

Browse files
committed
IS_LUAJIT [TO SQUASH]
1 parent 59fcc19 commit b7eec9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/CodeCoverage.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if(USE_LUA)
3636
set(GCOVR_OPTIONS ${GCOVR_OPTIONS} --object-directory ${LUA_SOURCE_DIR})
3737
endif ()
3838

39-
if(USE_LUAJIT)
39+
if(IS_LUAJIT)
4040
# Exclude DynASM files, that contain a low-level VM code for CPUs.
4141
set(GCOVR_OPTIONS ${GCOVR_OPTIONS} --exclude ".*\.dasc")
4242
# Exclude buildvm source code, it's a project's build infrastructure.
@@ -56,7 +56,7 @@ add_custom_command(TARGET ${target_name}
5656
# object files built with the GCC -fprofile-arcs option is executed.
5757
# https://gcc.gnu.org/onlinedocs/gcc/Gcov-Data-Files.html
5858
set(GCDA_FILES "${LUA_SOURCE_DIR}/*.gcda")
59-
if(USE_LUAJIT)
59+
if(IS_LUAJIT)
6060
# Files 'src/host/*.gcda' are not removed, because
6161
# CMake cannot remove recursively by globbing.
6262
# Files 'src/host/*.gcda' are not used for building coverage report.

0 commit comments

Comments
 (0)