preCICE: Fix Eigen include directory (#12441)

This commit is contained in:
Frédéric Simonis 2019-08-16 16:00:01 +02:00 committed by Satish Balay
parent 0307b5a3dc
commit 7bb08b6ecb

View file

@ -72,7 +72,8 @@ def variant_bool(feature, on='ON', off='OFF'):
# Eigen3
if xsdk_mode:
cmake_args.append('-DTPL_ENABLE_EIGEN3=ON')
cmake_args.append('-DEIGEN3_INCLUDE_DIR=%s' % spec['eigen'].prefix)
cmake_args.append(
'-DEIGEN3_INCLUDE_DIR=%s' % spec['eigen'].headers.directories[0])
# LibXML2
if xsdk_mode: