Skip to content

Commit

Permalink
fixed pdb file match in symchk openvinotoolkit#4
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszJanuszkiewicz committed Nov 14, 2022
1 parent e54122c commit b65916b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions cmake/developer_package/add_ie_target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ function(addIeTarget)
if(WIN32)
# Provide default compile pdb name equal to target name
set_target_properties(${ARG_NAME} PROPERTIES COMPILE_PDB_NAME ${ARG_NAME})
target_link_options(${ARG_NAME} PRIVATE /PDBALTPATH:$<TARGET_PDB_FILE_NAME:${ARG_NAME}>)
endif()
endfunction()

Expand Down
1 change: 0 additions & 1 deletion src/bindings/c/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ ie_add_vs_version_file(NAME ${TARGET_NAME}
# export

set_target_properties(${TARGET_NAME} PROPERTIES EXPORT_NAME runtime::c)
target_link_options(${TARGET_NAME} PRIVATE /PDBALTPATH:$<TARGET_PDB_FILE_NAME:${TARGET_NAME}>)

ov_add_library_version(${TARGET_NAME})

Expand Down

0 comments on commit b65916b

Please sign in to comment.