mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-31 23:06:43 +08:00 
			
		
		
		
	CMakeLists: Set Boost_INCLUDE_DIR.
This commit is contained in:
		
							parent
							
								
									dba91b2ecf
								
							
						
					
					
						commit
						8410e7891c
					
				| @ -118,12 +118,11 @@ else() | ||||
| endif() | ||||
| 
 | ||||
| find_package(Boost 1.57.0 QUIET) | ||||
| if (Boost_FOUND) | ||||
|     include_directories(${Boost_INCLUDE_DIRS}) | ||||
| else() | ||||
| if (NOT Boost_FOUND) | ||||
|     message(STATUS "Boost 1.57.0 or newer not found, falling back to externals") | ||||
|     include_directories(externals/boost) | ||||
|     set(Boost_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/externals/boost") | ||||
| endif() | ||||
| include_directories(${Boost_INCLUDE_DIR}) | ||||
| 
 | ||||
| # Include bundled CMake modules | ||||
| list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/externals/cmake-modules") | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user