Skip to content

Commit 6263d72

Browse files
Moved repeated status message outside of if/else statement (#613)
1 parent 6cf9b2f commit 6263d72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dpctl-capi/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,10 @@ if(DPCTL_GENERATE_COVERAGE)
207207
set(DPCTL_BUILD_CAPI_TESTS "ON")
208208
if(DPCTL_COVERAGE_REPORT_OUTPUT_DIR)
209209
set(COVERAGE_OUTPUT_DIR ${DPCTL_COVERAGE_REPORT_OUTPUT_DIR})
210-
message(STATUS "Coverage reports to be saved at ${COVERAGE_OUTPUT_DIR}")
211210
else()
212211
set(COVERAGE_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})
213-
message(STATUS "Coverage reports to be saved at ${COVERAGE_OUTPUT_DIR}")
214212
endif()
213+
message(STATUS "Coverage reports to be saved at ${COVERAGE_OUTPUT_DIR}")
215214
endif()
216215

217216
# Add sub-directory to build the dpctl C API test cases

0 commit comments

Comments
 (0)