| 
					
				 | 
			
			
				@@ -11,12 +11,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #   PROTOBUF_INCLUDE_DIR - The include directory for protocol buffers 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #   PROTOBUF_PROTOC_EXECUTABLE - The protoc compiler 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-# Esben Mose Hansen <[EMAIL PROTECTED]>, (c) Ange Optimization ApS 2008 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-# Adapted by Philip Lowman <[email protected]> (c) 2009 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-# 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-# Redistribution and use is allowed according to the terms of the BSD license. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-# For details see the accompanying COPYING-CMAKE-SCRIPTS file. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-# 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #==================================================================== 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # Example: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -28,19 +22,25 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # add_executable(bar bar.cc ${PROTO_SRCS} ${PROTO_HDRS}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # target_link_libraries(bar ${PROTOBUF_LIBRARY}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-# NOTE: You may need to link against pthreads as well depending 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# NOTE: You may need to link against pthreads, depending 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # on the platform. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #==================================================================== 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-#================================================== 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # PROTOBUF_GENERATE_CPP (public function) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #   SRCS = Variable to define with autogenerated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #          source files 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #   HDRS = Variable to define with autogenerated 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #          header files 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #   ARGN = proto files 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-#================================================== 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+#==================================================================== 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# Esben Mose Hansen <[EMAIL PROTECTED]>, (c) Ange Optimization ApS 2008 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# Adapted by Philip Lowman <[email protected]> (c) 2009 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# Redistribution and use is allowed according to the terms of the BSD license. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# For details see the accompanying COPYING-CMAKE-SCRIPTS file. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function(PROTOBUF_GENERATE_CPP SRCS HDRS) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if(NOT ARGN) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     message(SEND_ERROR "Error: PROTOBUF_GENERATE_CPP() called without any proto files") 
			 |