mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
build: set CMAKE_GENERATOR_TOOLSET only for VS generator
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
1b7f61341c
commit
75cb7f85d2
@ -18,7 +18,7 @@ if(NOT DEFINED NEO_SOURCE_DIR)
|
||||
set(NEO_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
if(CMAKE_GENERATOR MATCHES "Visual Studio")
|
||||
set(CMAKE_GENERATOR_TOOLSET "host=x64")
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user