mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Removed redundant find_package(PkgConfig)
				
					
				
			This commit is contained in:
		| @@ -2627,7 +2627,6 @@ else() | ||||
|         # appropriate binary version string. So, for instance, "4.25.3" becomes "25.3.0". | ||||
|         string(REGEX REPLACE "^[0-9]+\.([0-9]+\.[0-9]+)$" "\\1.0" PROTOBUF_LIBRARY_VERSION "${Protobuf_VERSION}") | ||||
|         if((PROTOBUF_LIBRARY_VERSION VERSION_GREATER_EQUAL "22") AND (PROTOBUF_LIBRARY_VERSION VERSION_LESS "26")) | ||||
|             find_package(PkgConfig REQUIRED) | ||||
|             pkg_check_modules(protobuf REQUIRED IMPORTED_TARGET protobuf=${PROTOBUF_LIBRARY_VERSION}) | ||||
|             target_link_libraries(protobuf::libprotobuf INTERFACE PkgConfig::protobuf) | ||||
|         endif() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Victor Castillo
					Victor Castillo