diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-04 15:34:07 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-04 15:34:07 +0300 |
commit | 7df125c249dc9b99b66f047a395106c2038eb00e (patch) | |
tree | 4b67f609018b7d833624e4ab89e3ba79e62facfe /src | |
parent | 14c621d853f0e522fb5ace7e3bd1be9b2e89ebd2 (diff) | |
download | minetest-7df125c249dc9b99b66f047a395106c2038eb00e.tar.gz minetest-7df125c249dc9b99b66f047a395106c2038eb00e.tar.bz2 minetest-7df125c249dc9b99b66f047a395106c2038eb00e.zip |
Modified windows build parameters a bit to make it build
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3e03f13be..e414df33a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -145,7 +145,8 @@ if(MSVC) # EHa enables SEH exceptions (used for catching segfaults) set(CMAKE_CXX_FLAGS_RELEASE "/EHa /MD /O2 /Ob2 /Oi /Ot /Oy /GL /FD /MT /GS- /arch:SSE /fp:fast /D NDEBUG /D _HAS_ITERATOR_DEBUGGING=0 /TP") - set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/LTCG /NODEFAULTLIB:\"libcmtd.lib\" /NODEFAULTLIB:\"libcmt.lib\"") + #set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/LTCG /NODEFAULTLIB:\"libcmtd.lib\" /NODEFAULTLIB:\"libcmt.lib\"") + set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/LTCG") # Debug build doesn't catch exceptions by itself # Add some optimizations because otherwise it's VERY slow |