add --as-needed
This commit is contained in:
		@@ -195,6 +195,7 @@ function(give_options_without_warnings target)
 | 
			
		||||
                                      $<$<CONFIG:Release>:${BUILD_FLAGS_RELEASE}>
 | 
			
		||||
                                      $<$<CONFIG:Debug>:${BUILD_FLAGS_DEBUG}>
 | 
			
		||||
                                      -Bsymbolic-functions
 | 
			
		||||
                                      -Wl,--as-needed
 | 
			
		||||
                                      $<$<BOOL:${LINUX}>:-Wl,--hash-style=gnu>)
 | 
			
		||||
 | 
			
		||||
        get_target_property(target_type ${target} TYPE)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user