summarylogtreecommitdiffstats
path: root/dont-strip-symbols.patch
blob: 63642f4db19346037e73e25eef0107bf45b16f2c (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
@@ -353,8 +353,6 @@ function(strip_symbols targetName outputFilename)
 endfunction()
 
 function(install_bsf_target targetName)
-	strip_symbols(${targetName} symbolsFile)
-	
 	install(
 		TARGETS ${targetName}
 		EXPORT bsf
@@ -362,19 +360,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)