mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Include boost spirit in order to compile opm-common.
This commit is contained in:
parent
df2a6fb9d9
commit
a180fc431b
@ -278,6 +278,7 @@ endif() # MSVC
|
||||
|
||||
if (VCPKG_AUTO_INSTALL)
|
||||
vcpkg_install(boost-filesystem)
|
||||
vcpkg_install(boost-spirit)
|
||||
endif()
|
||||
|
||||
add_subdirectory(ThirdParty/custom-opm-flowdiagnostics)
|
||||
|
6
ThirdParty/custom-opm-common/CMakeLists.txt
vendored
6
ThirdParty/custom-opm-common/CMakeLists.txt
vendored
@ -81,12 +81,16 @@ add_library(${PROJECT_NAME}
|
||||
opm-common/src/opm/io/eclipse/rst/header.cpp
|
||||
)
|
||||
|
||||
find_path(BOOST_SPIRIT_INCLUDE_DIRS "boost/spirit.hpp")
|
||||
|
||||
target_link_libraries(custom-opm-common
|
||||
boost-Subset
|
||||
${ADDITIONAL_LINK_LIBRARIES}
|
||||
)
|
||||
target_include_directories(custom-opm-common
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/opm-common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/generated-opm-common/include
|
||||
PRIVATE
|
||||
${BOOST_SPIRIT_INCLUDE_DIRS}
|
||||
|
||||
)
|
Loading…
Reference in New Issue
Block a user