summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek2012-04-15 01:27:09 +0200
committerPetr Mrázek2012-04-15 01:27:09 +0200
commita19d25f53207900db923332ffcb70afdecb99df4 (patch)
treefebaaa90da298b5fd8f2606800b82ff579bc8b74 /CMakeLists.txt
parentfc38371b29ff20b959a401222a74e6a31f1b95c4 (diff)
parentf235d8f371082e4bc9bb17651eb7d3cc6fb5e54e (diff)
downloaddfhack-a19d25f53207900db923332ffcb70afdecb99df4.tar.gz
dfhack-a19d25f53207900db923332ffcb70afdecb99df4.tar.bz2
dfhack-a19d25f53207900db923332ffcb70afdecb99df4.tar.xz
Merge https://github.com/warmist/dfhack
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 107626b1..1cbf9ed2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,11 @@ endif(CMAKE_CONFIGURATION_TYPES)
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(dfhack)
+if(MSVC)
+# disable C4819 code-page warning
+add_definitions( "/wd4819" )
+endif()
+
# set up folder structures for IDE solutions
# MSVC Express won't load solutions that use this. It also doesn't include MFC supported
# Check for MFC!