summarylogtreecommitdiffstats
path: root/dont-strip-symbols.patch
blob: 0a1ad94a113be98dd2b86e23a27570f9617577c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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)