it appears a one-character typo in the cmake_minimum_required line prevents it from compiling under CMake 4.0. in order to fix that, I had to take this thing out of submodules... it is recommended to do this after you pull; git submodule deinit extern/libsndfile
		
			
				
	
	
		
			17 lines
		
	
	
		
			286 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			286 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*	Simple test program to make sure that Win32 linking to libsndfile is
 | 
						|
**	working.
 | 
						|
*/
 | 
						|
 | 
						|
#include <stdio.h>
 | 
						|
 | 
						|
#include "sndfile.h"
 | 
						|
 | 
						|
int
 | 
						|
main (void)
 | 
						|
{	static char strbuffer [256] ;
 | 
						|
	sf_command (NULL, SFC_GET_LIB_VERSION, strbuffer, sizeof (strbuffer)) ;
 | 
						|
	puts (strbuffer) ;
 | 
						|
	return 0 ;
 | 
						|
}
 | 
						|
 |