mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
ISPC: CompilerLauncher tests work properly with x86 builds
This commit is contained in:
committed by
Brad King
parent
8de145cae1
commit
bf88a94d88
@@ -1,4 +1,8 @@
|
||||
enable_language(ISPC)
|
||||
enable_language(CXX)
|
||||
set(CMAKE_VERBOSE_MAKEFILE TRUE)
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
set(CMAKE_ISPC_FLAGS "--arch=x86")
|
||||
endif()
|
||||
add_executable(main main.cxx test.ispc)
|
||||
|
||||
Reference in New Issue
Block a user