Disable AVX2 for samples

This commit is contained in:
momo5502
2025-03-22 18:02:02 +01:00
parent f42005ce5d
commit b701d44e90
2 changed files with 23 additions and 1 deletions

View File

@@ -1,2 +1,12 @@
momo_get_all_targets(EXISTING_TARGETS)
##########################################
add_subdirectory(bad-sample)
add_subdirectory(test-sample)
##########################################
momo_get_all_targets(ALL_TARGETS)
momo_list_difference("${ALL_TARGETS}" "${EXISTING_TARGETS}" SAMPLE_TARGETS)
momo_targets_remove_compile_options("${SAMPLE_TARGETS}" /arch:AVX2 -mavx2)