git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Microsoft compiler flags
[novacoin.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
9da5231
..
3bdca90
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-44,7
+44,7
@@
set (CMAKE_C_FLAGS "-flto -O3 -fPIC -Wno-deprecated -fstack-protector-all -Wstac
set (CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter -fexceptions -frtti")
else()
set(CMAKE_C_FLAGS "/O2")
-set(CMAKE_CXX_FLAGS "/O2 /GR")
+set(CMAKE_CXX_FLAGS "/O2 /GR /EHsc")
endif()
set(Boost_USE_STATIC_LIBS ON)