mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 13:54:58 +08:00
Set CMAKE_CONFIGURATION_TYPES only for MSBuild
Change-Id: I03edd2aef10d8aa6479f9209c67464658732c34a
This commit is contained in:
committed by
sys_ocldev
parent
e746081403
commit
c4c75e542e
@@ -22,10 +22,10 @@ cmake_minimum_required(VERSION 3.2.0 FATAL_ERROR)
|
||||
include(ExternalProject)
|
||||
# Include needed macros
|
||||
include(common_macros.cmake)
|
||||
# Set the configuration type
|
||||
set(CMAKE_CONFIGURATION_TYPES
|
||||
${CMAKE_BUILD_TYPE}
|
||||
)
|
||||
if(MSVC)
|
||||
# Set the configuration type
|
||||
set(CMAKE_CONFIGURATION_TYPES ${CMAKE_BUILD_TYPE})
|
||||
endif()
|
||||
|
||||
project(igdrcl)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user