Skip to content

Commit 3aee908

Browse files
committed
build: don't install benchmark artifact if benchmark library is missing
1 parent c1a547a commit 3aee908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ if(DEFINED ENV{GITHUB_REF_TYPE})
10421042
)
10431043
endforeach()
10441044

1045-
if (ENABLE_RICEPP)
1045+
if (ENABLE_RICEPP AND benchmark_FOUND)
10461046
add_custom_command(
10471047
OUTPUT _copy_artifacts APPEND
10481048
COMMAND ${CMAKE_COMMAND} -E copy

0 commit comments

Comments
 (0)