mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Fix Boost version detection
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@310 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
		| @@ -83,14 +83,13 @@ set(Boost_ADDITIONAL_VERSIONS | ||||
|     "1.60.0" "1.60" "1.61.0" "1.61" "1.62.0" "1.62" "1.63.0" "1.63" "1.64.0" "1.64" | ||||
|     "1.65.0" "1.65" "1.66.0" "1.66" "1.67.0" "1.67" "1.68.0" "1.68" "1.69.0" "1.69" | ||||
| ) | ||||
| find_package(Boost "1.45") | ||||
|  | ||||
| if(NOT Boost_FOUND) | ||||
|     message(FATAL_ERROR "Boost required to compile gnss-sdr") | ||||
| endif() | ||||
| set(Boost_MIN_VERSION "1.45.0") | ||||
| set(Boost_USE_MULTITHREAD ON) | ||||
| set(Boost_USE_STATIC_LIBS OFF) | ||||
| find_package(Boost COMPONENTS date_time system filesystem thread REQUIRED)  | ||||
| find_package(Boost ${Boost_MIN_VERSION} COMPONENTS date_time system filesystem thread REQUIRED)  | ||||
| if(NOT Boost_FOUND) | ||||
|      message(FATAL_ERROR "Fatal error: Boost (version >=1.45.0) required.") | ||||
| endif(NOT Boost_FOUND) | ||||
| include_directories(${Boost_INCLUDE_DIRS}) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez