Permalink
Browse files

add WIN32_LEAN_AND_MEAN preprocessor definition to the whole project

  • Loading branch information...
1 parent 1ed17b2 commit fe89693b8dfbf915755d0a6e27ea48df249203e8 @jleben jleben committed with timblechmann Feb 15, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 CMakeLists.txt
View
@@ -57,6 +57,8 @@ endif()
#############################################
# Compiler flags etc
+add_definitions(-DWIN32_LEAN_AND_MEAN)
+
if (${CMAKE_COMPILER_IS_GNUCXX})
exec_program(${CMAKE_CXX_COMPILER} ARGS -dumpversion OUTPUT_VARIABLE _gcc_version)

0 comments on commit fe89693

Please sign in to comment.