Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Tests / RunCMake / try_compile / ISPCTargets.cmake
1 include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})
2
3 enable_language(ISPC)
4
5 set(CMAKE_ISPC_INSTRUCTION_SETS avx512knl-i32x16 avx512skx-i32x16)
6
7 try_compile(result ${try_compile_bindir_or_SOURCES}
8   ${try_compile_redundant_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/src.ispc
9   OUTPUT_VARIABLE out
10   )
11
12 message("try_compile output:\n${out}")