Set CMAKE_CONFIGURATION_TYPES only for MSBuild

Change-Id: I03edd2aef10d8aa6479f9209c67464658732c34a
This commit is contained in:
Filipkowski, Lukasz
2018-03-21 13:45:30 +01:00
committed by sys_ocldev
parent e746081403
commit c4c75e542e

View File

@@ -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)