diff options
Diffstat (limited to 'dont-strip-symbols.patch')
-rw-r--r-- | dont-strip-symbols.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dont-strip-symbols.patch b/dont-strip-symbols.patch new file mode 100644 index 000000000000..0a1ad94a113b --- /dev/null +++ b/dont-strip-symbols.patch @@ -0,0 +1,33 @@ +diff --git a/Source/CMake/HelperMethods.cmake b/Source/CMake/HelperMethods.cmake +index 9577b6c8e..90ec58df6 100644 +--- a/Source/CMake/HelperMethods.cmake ++++ b/Source/CMake/HelperMethods.cmake +@@ -331,8 +331,6 @@ function(strip_symbols targetName outputFilename) + endfunction() + + function(install_bsf_target targetName) +- strip_symbols(${targetName} symbolsFile) +- + install( + TARGETS ${targetName} + EXPORT bsf +@@ -340,19 +338,6 @@ function(install_bsf_target targetName) + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + ) +- +- if(MSVC) +- install( +- FILES $<TARGET_PDB_FILE:${targetName}> +- DESTINATION bin +- OPTIONAL +- ) +- else() +- install( +- FILES ${symbolsFile} +- DESTINATION lib +- OPTIONAL) +- endif() + endfunction() + + function(copyBsfBinaries target srcDir) |