mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-10 04:50:31 -04:00
build: don't install benchmark artifact if benchmark library is missing
This commit is contained in:
parent
342d82d7e1
commit
5db0d1dd8e
@ -1039,7 +1039,7 @@ if(DEFINED ENV{GITHUB_REF_TYPE})
|
||||
)
|
||||
endforeach()
|
||||
|
||||
if (ENABLE_RICEPP)
|
||||
if (ENABLE_RICEPP AND benchmark_FOUND)
|
||||
add_custom_command(
|
||||
OUTPUT _copy_artifacts APPEND
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
|
Loading…
x
Reference in New Issue
Block a user