mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-24 22:17:32 +00:00
Ensure the Eigen code that is getting #included is licensed under the MPL2 and possibly more permissive licenses (like BSD). (#1076)
This commit is contained in:
parent
9f79ff52ba
commit
bc01f7b16f
1 changed files with 4 additions and 0 deletions
|
|
@ -111,6 +111,10 @@ if(onnxruntime_USE_OPENMP)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# Guarantee that the Eigen code that you are #including is licensed
|
||||
# under the MPL2 and possibly more permissive licenses (like BSD).
|
||||
add_definitions(-DEIGEN_MPL2_ONLY)
|
||||
|
||||
if(onnxruntime_CROSS_COMPILING)
|
||||
set(CMAKE_CROSSCOMPILING ON)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue