mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
Merge pull request #18 from akva2/eigen3_fix_continuous_installs
fixed: workaround issues with ExternalProject_Add
This commit is contained in:
commit
9ae786a324
@ -163,7 +163,9 @@ if (NOT EIGEN3_FOUND)
|
||||
include(ExternalProject)
|
||||
externalProject_Add(Eigen3
|
||||
GIT_REPOSITORY git://github.com/OPM/eigen3
|
||||
UPDATE_COMMAND git checkout 9f6cc779c101b87184076322603f496e5fdd0432
|
||||
CMAKE_ARGS -DEIGEN_TEST_NO_OPENGL=1 -DEIGEN_BUILD_PKGCONFIG=0 -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/eigen3-installed)
|
||||
|
||||
include_directories(${CMAKE_BINARY_DIR}/eigen3-installed/include/eigen3)
|
||||
add_dependencies(opmautodiff Eigen3)
|
||||
endif (NOT EIGEN3_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user