mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Fix build issues due to not linking Eigen
This commit is contained in:
parent
1482fdebf9
commit
cc2531a551
@ -417,6 +417,7 @@ endif ()
|
||||
#############################################################################
|
||||
|
||||
set( LINK_LIBRARIES
|
||||
Eigen3::Eigen
|
||||
${OPM_LIBRARIES}
|
||||
|
||||
${RI_LIBRARIES}
|
||||
|
@ -46,6 +46,8 @@ foreach (referencedfile ${COMMAND_REFERENCED_CMAKE_FILES})
|
||||
endforeach (referencedfile)
|
||||
|
||||
|
||||
find_package(Eigen3 REQUIRED)
|
||||
|
||||
# Prefix files with COMMAND_ to avoid clash with application global lists
|
||||
qt5_wrap_cpp(COMMAND_MOC_SOURCE_FILES ${COMMAND_QT_MOC_HEADERS} )
|
||||
|
||||
@ -79,6 +81,7 @@ set( LINK_LIBRARIES
|
||||
qwt
|
||||
|
||||
${QT_LIBRARIES}
|
||||
Eigen3::Eigen
|
||||
)
|
||||
|
||||
target_link_libraries( ${PROJECT_NAME}
|
||||
|
Loading…
Reference in New Issue
Block a user