diff --git a/CMakeLists.txt b/CMakeLists.txt index 8957e0dc9c..43ac149f03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,10 +16,15 @@ endforeach() # Include needed macros include(common_macros.cmake) +if(MSVC) +set(CMAKE_GENERATOR_TOOLSET "host=x64") +endif() + if(NOT PROJECT_NAME) set(PROJECT_NAME igdrcl) endif() + project(${PROJECT_NAME}) if(CMAKE_CONFIGURATION_TYPES)