mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-10-29 05:40:23 -04:00 
			
		
		
		
	 ce546b22eb
			
		
	
	
		ce546b22eb
		
	
	
	
	
		
			
			I'd rather not have to do this, as I don't really see the point in duplicating what is done in pkgconfig, but this is likely the easiest way to avoid nasty hacks.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			504 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			504 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(PULSEAUDIO_FOUND TRUE)
 | |
| 
 | |
| set(PULSEAUDIO_VERSION_MAJOR @PA_MAJOR@)
 | |
| set(PULSEAUDIO_VERSION_MINOR @PA_MINOR@)
 | |
| set(PULSEAUDIO_VERSION @PA_MAJOR@.@PA_MINOR@)
 | |
| set(PULSEAUDIO_VERSION_STRING "@PA_MAJOR@.@PA_MINOR@")
 | |
| 
 | |
| find_path(PULSEAUDIO_INCLUDE_DIR pulse/pulseaudio.h HINTS "@PA_INCDIR@")
 | |
| find_library(PULSEAUDIO_LIBRARY NAMES pulse libpulse HINTS "@PA_LIBDIR@")
 | |
| ifelse(@HAVE_GLIB20@, 1, dnl
 | |
| find_library(PULSEAUDIO_MAINLOOP_LIBRARY NAMES pulse-mainloop-glib libpulse-mainloop-glib HINTS "@PA_LIBDIR@")
 | |
| )dnl
 |