build-support: Disable non MPL2 compatible Eigen features
Disable the features that are still under LGPL.
This commit is contained in:
@@ -723,6 +723,7 @@ macro(process_options)
|
||||
if(${EIGEN3_FOUND})
|
||||
set(ENABLE_EIGEN True)
|
||||
add_definitions(-DHAVE_EIGEN3)
|
||||
add_definitions(-DEIGEN_MPL2_ONLY)
|
||||
include_directories(${EIGEN3_INCLUDE_DIR})
|
||||
else()
|
||||
message(${HIGHLIGHTED_STATUS} "Eigen was not found")
|
||||
|
||||
Reference in New Issue
Block a user