Commit 8e7f9e00 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX] - for external development, the correct eigen3 defines are needed too.

parent df91b06c
......@@ -6,6 +6,6 @@ libdir=${exec_prefix}/lib
Name: openwalnut
Description: The OpenWalnut core library -- OpenWalnut is a tool for multi-modal medical and brain data visualization.
Version: 1.2.5
Cflags: -I${includedir}/openwalnut
Cflags: -I${includedir}/openwalnut @EIGEN3_DEFINES@
Libs: -L${libdir} -lopenwalnut
Requires: openscenegraph eigen3
......@@ -142,7 +142,8 @@ SET( CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g -DDEBUG -O2" CACHE STRING "" FORCE )
# Eigen3 specifics
# NOTE: this is included in ext. But we need to set several definitions to make this work on 32 Bit machines due to alignment problems
ADD_DEFINITIONS( -DEIGEN_DONT_VECTORIZE -DEIGEN_DONT_ALIGN -DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT )
SET( EIGEN3_DEFINES -DEIGEN_DONT_VECTORIZE -DEIGEN_DONT_ALIGN -DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT )
ADD_DEFINITIONS( ${EIGEN3_DEFINES} )
# ---------------------------------------------------------------------------------------------------------------------------------------------------
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment