Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwe committed Dec 3, 2023
1 parent c127cac commit 1b944ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Corrosion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function(_corrosion_copy_byproduct_deferred target_name output_dir_prop_name car
"Internal error: Exactly one filename should be passed for executable types.")
endif()
_corrosion_bin_target_suffix(${target_name} "suffix")
if(suffix AND (NOT ("${filenames}" MATCHES "\.pdb$")))
if(suffix AND (NOT ("${filenames}" MATCHES ".*\.pdb$")))
message(STATUS "Appending suffix to filename ${file_names}")
# For bin targets we know that there is only one target, not a list.
string(APPEND "file_names" "${suffix}")
Expand Down

0 comments on commit 1b944ac

Please sign in to comment.