mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05: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(ISPC)
|
||||||
enable_language(CXX)
|
enable_language(CXX)
|
||||||
set(CMAKE_VERBOSE_MAKEFILE TRUE)
|
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)
|
add_executable(main main.cxx test.ispc)
|
||||||
|
|||||||
Reference in New Issue
Block a user