mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
ISPC: Use the obj file extension for objects on windows
This commit is contained in:
committed by
Brad King
parent
5b3644fba6
commit
a83521e082
@@ -1,7 +1,11 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||
|
||||
set(CMAKE_ISPC_OUTPUT_EXTENSION .o)
|
||||
if(UNIX)
|
||||
set(CMAKE_ISPC_OUTPUT_EXTENSION .o)
|
||||
else()
|
||||
set(CMAKE_ISPC_OUTPUT_EXTENSION .obj)
|
||||
endif()
|
||||
set(CMAKE_INCLUDE_FLAG_ISPC "-I")
|
||||
|
||||
# Load compiler-specific information.
|
||||
|
||||
Reference in New Issue
Block a user