From 388aa2fb2007ec21f825a0338162791a921e442e Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Sat, 16 May 2026 13:44:56 -0700 Subject: [PATCH] fix(cmake): avoid qjs/qjs_exe PDB filename collision on Windows parallel builds Fixes #1241 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b6aeec959..1c974b2c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -381,6 +381,8 @@ add_qjs_libc_if_needed(qjs_exe) add_static_if_needed(qjs_exe) set_target_properties(qjs_exe PROPERTIES OUTPUT_NAME "qjs" + PDB_NAME "qjs_cli" + COMPILE_PDB_NAME "qjs_cli" ) target_compile_definitions(qjs_exe PRIVATE ${qjs_defines}) target_link_libraries(qjs_exe PRIVATE qjs)