Skip to content

Commit 15b9a96

Browse files
committed
fix windows ci
1 parent 9f3d4e4 commit 15b9a96

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,11 @@ if("${MAKE}" STREQUAL "")
266266
endif()
267267

268268
# Args for external projects using make.
269-
set(MAKE_BUILD_ARGS "-j${NPROC}")
269+
if(NOT MSVC)
270+
set(MAKE_BUILD_ARGS "-j${NPROC}")
271+
else()
272+
set(MAKE_BUILD_ARGS "")
273+
endif()
270274

271275
include(FetchContent)
272276
set(FC_DECLARE_COMMON_OPTIONS)

0 commit comments

Comments
 (0)