Navigation Menu

Skip to content

Commit

Permalink
cmake win32: add missing compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Oct 18, 2012
1 parent fd661c6 commit 08400a0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions CMakeLists.txt
Expand Up @@ -113,8 +113,14 @@ if(WIN32)
# it is better that you can customize this definition.
# TODO: support security enhancements introduced in the CRT.
# http://msdn.microsoft.com/en-us/library/8ef0s5kh%28v=vs.90%29.aspx
set_property(TARGET ha_mroonga APPEND PROPERTY
COMPILE_DEFINITIONS "__WIN__" "DBUG_OFF" "_CRT_SECURE_NO_WARNINGS")
set_property(TARGET ha_mroonga APPEND PROPERTY COMPILE_DEFINITIONS
"__WIN__"
"DBUG_OFF"
"_CRT_SECURE_NO_WARNINGS"
"_WIN32_WINNT=0x0501"
"WIN32_LEAN_AND_MEAN"
)

endif()

if(WIN32)
Expand Down

0 comments on commit 08400a0

Please sign in to comment.