Skip to content

Commit

Permalink
Merge pull request #319 from clEsperanto/StRigaud-patch-1
Browse files Browse the repository at this point in the history
silence cxx flag for python build
  • Loading branch information
StRigaud authored Jul 10, 2024
2 parents 1d533c0 + b7fb156 commit 31ca868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CMakeSetEnv.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ string(TOLOWER ${LIBRARY_NAME} LIBRARY_NAME_LOWERCASE)

# Enforce only using MPL2/BSD license for Eigen
# test if unix system
if(UNIX)
if(UNIX AND CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} " -DEIGEN_MPL2_ONLY")
endif()

Expand Down

0 comments on commit 31ca868

Please sign in to comment.