Skip to content
Snippets Groups Projects
Commit edf57e96 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Force 64-bit VS compiler.

Fixes out-of-memory errors in e.g. ProcessLib.
parent a31bcba8
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,11 @@ cmake_minimum_required(VERSION 3.1)
cmake_policy(SET CMP0011 NEW)
cmake_policy(SET CMP0054 NEW)
if(WIN32 AND NOT ${CMAKE_GENERATOR} STREQUAL Ninja)
# Force 64-bit VS compiler
set(CMAKE_GENERATOR_TOOLSET host=x64)
endif()
# Project name
project( OGS-6 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment