Skip to content

Commit

Permalink
#2214: Use correct code_coverage variable in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed Nov 20, 2023
1 parent 495c375 commit 750d159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ target_include_directories(
$<INSTALL_INTERFACE:${VT_EXTERNAL_DESTINATION}>
)

if(VT_CODE_COVERAGE AND CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
if(vt_code_coverage AND CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
message(STATUS "VT: enabling code coverage generation")
# Add required flags (GCC & LLVM/Clang)
target_compile_options(${VIRTUAL_TRANSPORT_LIBRARY} PUBLIC
Expand Down

0 comments on commit 750d159

Please sign in to comment.