File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function(vcpkg_build_nmake)
3737 endif ()
3838
3939 if (NOT DEFINED arg_CL_LANGUAGE)
40- vcpkg_list(SET arg_CL_LANGUAGE CXX)
40+ set ( arg_CL_LANGUAGE CXX)
4141 endif ()
4242
4343 find_program (NMAKE nmake REQUIRED)
@@ -57,8 +57,8 @@ function(vcpkg_build_nmake)
5757 get_filename_component (JOM_EXE_PATH "${JOM} " DIRECTORY )
5858 vcpkg_add_to_path("${JOM_EXE_PATH} " )
5959 if (arg_CL_LANGUAGE AND "${VCPKG_DETECTED_CMAKE_${arg_CL_LANGUAGE} _COMPILER_ID}" STREQUAL "MSVC" )
60- string (REGEX REPLACE " [/-]MP[0-9]* " " " VCPKG_COMBINED_ ${arg_CL_LANGUAGE} _FLAGS_DEBUG " ${VCPKG_COMBINED_ ${arg_CL_LANGUAGE} _FLAGS_DEBUG} /FS" )
61- string (REGEX REPLACE " [/-]MP[0-9]* " " " VCPKG_COMBINED_ ${arg_CL_LANGUAGE} _FLAGS_RELEASE " ${VCPKG_COMBINED_ ${arg_CL_LANGUAGE} _FLAGS_RELEASE} /FS" )
60+ string (REGEX REPLACE " [/-]MP[0-9]* " " " VCPKG_DETECTED_CMAKE_ ${arg_CL_LANGUAGE} _FLAGS_DEBUG " ${VCPKG_DETECTED_CMAKE_ ${arg_CL_LANGUAGE} _FLAGS_DEBUG} /FS" )
61+ string (REGEX REPLACE " [/-]MP[0-9]* " " " VCPKG_DETECTED_CMAKE_ ${arg_CL_LANGUAGE} _FLAGS_RELEASE " ${VCPKG_DETECTED_CMAKE_ ${arg_CL_LANGUAGE} _FLAGS_RELEASE} /FS" )
6262 endif ()
6363 else ()
6464 set (arg_PREFER_JOM FALSE )
You can’t perform that action at this time.
0 commit comments