Skip to content

Commit

Permalink
cmake: specify the build type MD or MDd
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Nov 2, 2017
1 parent dd55567 commit 2b8d549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ else()
-DWINDOWS
-DCURL_STATICLIB
)
set(CMAKE_CXX_FLAGS_RELEASE "/MD")
set(CMAKE_CXX_FLAGS_DEBUG "/MDd")

set(warnings "-WX -W2")

Expand Down

0 comments on commit 2b8d549

Please sign in to comment.