summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/try_compile/ISPCInvalidTarget.cmake
blob: 2276bd3be2c9533c685f56318c3cd8575e32d87f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})

enable_language(ISPC)

set(CMAKE_ISPC_INSTRUCTION_SETS "avxknl-i32x16")

try_compile(result ${try_compile_bindir_or_SOURCES}
  ${try_compile_redundant_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/src.ispc
  OUTPUT_VARIABLE out
  )

message("try_compile output:\n${out}")