Skip to content

Commit

Permalink
Added -DEIGEN_MPL2_ONLY
Browse files Browse the repository at this point in the history
  • Loading branch information
landreman committed Oct 28, 2023
1 parent 534c60b commit 1abdaf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ else()
set(CMAKE_CXX_FLAGS "-O3 -ffp-contract=fast")
endif()
endif()
# Ensure all code used from Eigen does not have LGPL license:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DEIGEN_MPL2_ONLY")
message(STATUS "CMAKE_CXX_FLAGS are ${CMAKE_CXX_FLAGS}")

if(DEFINED ENV{CONDA_PREFIX})
Expand Down

0 comments on commit 1abdaf4

Please sign in to comment.