From 5446770855a8286092abdd91d9069cb3191c209d Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 7 Jun 2015 17:11:01 +0200 Subject: Build fixes for windows build --- CMakeLists.txt | 1 + doc/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eba0fd7..6223aa9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,7 @@ endif() if (WIN32) set(ICONV_DIR "${CMAKE_SOURCE_DIR}/winbuild") set(CMAKE_REQUIRED_DEFINITIONS "-DLIBICONV_STATIC") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") # needed for language.cpp on 64bit add_definitions(-DLIBICONV_STATIC -D_CRT_SECURE_NO_WARNINGS) endif() diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 1081fa4..9fb41c2 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -2,7 +2,7 @@ if (build_doc) find_program(EPSTOPDF NAMES epstopdf ) find_program(SED NAMES sed ) -find_program(MAKE NAMES make gmake ) +find_program(MAKE NAMES make gmake nmake ) file(GLOB DOC_FILES "*") file(GLOB LANG_FILES "${CMAKE_SOURCE_DIR}/src/translator_??.h") -- cgit v0.12