diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake index fd96ea016e..5bbadb1801 100644 --- a/cmake/compiler/msvc/settings.cmake +++ b/cmake/compiler/msvc/settings.cmake @@ -31,10 +31,7 @@ endif() add_definitions(-D_BUILD_DIRECTIVE="$(ConfigurationName)") # multithreaded compiling on VS -if((NOT USE_COREPCH) AND (NOT USE_SCRIPTPCH)) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") - message(STATUS "MSVC: PCH not used - enabled multithreaded compiling") -endif() +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") # Define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES - eliminates the warning by changing the strcpy call to strcpy_s, which prevents buffer overruns add_definitions(-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES)