mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:32:43 +00:00 
			
		
		
		
	 ce2f1b845f
			
		
	
	
		ce2f1b845f
		
	
	
	
	
		
			
			Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			465 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			465 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     SampleFormats.cpp
 | |
|     Loader.cpp
 | |
|     WavLoader.cpp
 | |
|     FlacLoader.cpp
 | |
|     WavWriter.cpp
 | |
|     MP3Loader.cpp
 | |
|     UserSampleQueue.cpp
 | |
| )
 | |
| 
 | |
| if (SERENITYOS)
 | |
|     list(APPEND SOURCES ConnectionToServer.cpp)
 | |
|     set(GENERATED_SOURCES
 | |
|         ../../Services/AudioServer/AudioClientEndpoint.h
 | |
|         ../../Services/AudioServer/AudioServerEndpoint.h
 | |
|     )
 | |
| endif()
 | |
| 
 | |
| serenity_lib(LibAudio audio)
 | |
| target_link_libraries(LibAudio PRIVATE LibCore LibIPC LibThreading)
 |