mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Fix building if Gflags was found but Glog was not
This commit is contained in:
		| @@ -1354,7 +1354,10 @@ endif() | |||||||
| ################################################################################ | ################################################################################ | ||||||
| set(LOCAL_GFLAGS FALSE) | set(LOCAL_GFLAGS FALSE) | ||||||
| if(NOT ENABLE_OWN_GLOG) | if(NOT ENABLE_OWN_GLOG) | ||||||
|     find_package(GFLAGS) |     find_package(GLOG) | ||||||
|  |     if(GLOG_FOUND) | ||||||
|  |         find_package(GFLAGS) | ||||||
|  |     endif() | ||||||
| endif() | endif() | ||||||
| set_package_properties(GFLAGS PROPERTIES | set_package_properties(GFLAGS PROPERTIES | ||||||
|     PURPOSE "Used for commandline flags management." |     PURPOSE "Used for commandline flags management." | ||||||
| @@ -1495,9 +1498,6 @@ endif() | |||||||
| ################################################################################ | ################################################################################ | ||||||
| # glog - https://github.com/google/glog | # glog - https://github.com/google/glog | ||||||
| ################################################################################ | ################################################################################ | ||||||
| if(NOT ENABLE_OWN_GLOG AND NOT ${LOCAL_GFLAGS}) |  | ||||||
|     find_package(GLOG) |  | ||||||
| endif() |  | ||||||
| set_package_properties(GLOG PROPERTIES | set_package_properties(GLOG PROPERTIES | ||||||
|     PURPOSE "Used for runtime internal logging." |     PURPOSE "Used for runtime internal logging." | ||||||
|     TYPE REQUIRED |     TYPE REQUIRED | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez