You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
399 B
16 lines
399 B
|
|
set(objs obj1 obj2)
|
|
if("${CMAKE_SYSTEM_NAME};${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "Darwin;arm64")
|
|
set(targets "")
|
|
else()
|
|
set(targets sse2 sse4 avx avx2)
|
|
endif()
|
|
foreach(o IN LISTS objs)
|
|
set(item "objs/${o}\\.ispc\\.(o|obj)")
|
|
check_installed("${item}")
|
|
foreach(t IN LISTS targets)
|
|
set(item "objs/${o}\\.ispc_${t}\\.(o|obj)")
|
|
check_installed("${item}")
|
|
endforeach()
|
|
endforeach()
|