diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e3c554..759c289 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ CONFIGURE_FILE( "${PROJECT_SOURCE_DIR}/version.in" NEWLINE_STYLE UNIX ) macro(UseCompilationWarningAsError) - if ( MSVC ) + if ( MSVC ) # Only enabled in debug because some old versions of VS STL generate # warnings when compiled in release configuration. set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /WX ")