Add aliases Eigen_*_DIR to Eigen3_*_DIR
This is to make configuring work again after project was renamed from Eigen to Eigen3
This commit is contained in:
		
							parent
							
								
									fe778427f2
								
							
						
					
					
						commit
						fe4b927e9c
					
				| @ -8,6 +8,11 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) | ||||
|   message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there. You may need to remove CMakeCache.txt. ") | ||||
| endif() | ||||
| 
 | ||||
| # Alias Eigen_*_DIR to Eigen3_*_DIR: | ||||
| 
 | ||||
| set(Eigen_SOURCE_DIR ${Eigen3_SOURCE_DIR}) | ||||
| set(Eigen_BINARY_DIR ${Eigen3_BINARY_DIR}) | ||||
| 
 | ||||
| # guard against bad build-type strings | ||||
| 
 | ||||
| if (NOT CMAKE_BUILD_TYPE) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Christoph Hertzberg
						Christoph Hertzberg