Skip to content

Commit 3da8a4a

Browse files
mvanhornsaghul
authored andcommitted
fix(cmake): avoid qjs/qjs_exe PDB filename collision on Windows parallel builds
Fixes #1241
1 parent a653771 commit 3da8a4a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ add_qjs_libc_if_needed(qjs_exe)
381381
add_static_if_needed(qjs_exe)
382382
set_target_properties(qjs_exe PROPERTIES
383383
OUTPUT_NAME "qjs"
384+
PDB_NAME "qjs_cli"
385+
COMPILE_PDB_NAME "qjs_cli"
384386
)
385387
target_compile_definitions(qjs_exe PRIVATE ${qjs_defines})
386388
target_link_libraries(qjs_exe PRIVATE qjs)

0 commit comments

Comments
 (0)