mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add optional download of binaries in build
* #10202 Download and use binaries as part of a build
This commit is contained in:
@@ -192,6 +192,21 @@ endif()
|
||||
#
|
||||
list(APPEND RI_PRIVATE_INCLUDES ${RESINSIGHT_OPENVDS_API_DIR}/include)
|
||||
|
||||
#
|
||||
# Configure include directories if opm-common.lib is downloaded and linked
|
||||
# without building from source
|
||||
#
|
||||
if(NOT BUILD_FROM_SOURCE)
|
||||
list(APPEND RI_PUBLIC_INCLUDES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../ThirdParty/custom-opm-common/opm-common
|
||||
)
|
||||
list(
|
||||
APPEND
|
||||
RI_PRIVATE_INCLUDES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../ThirdParty/custom-opm-common/generated-opm-common/include
|
||||
)
|
||||
endif()
|
||||
|
||||
#
|
||||
# HDF5
|
||||
#
|
||||
@@ -415,6 +430,7 @@ target_include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Measurement
|
||||
${ResInsight_SOURCE_DIR}/ThirdParty
|
||||
${CMAKE_BINARY_DIR}/Generated
|
||||
${RI_PUBLIC_INCLUDES}
|
||||
)
|
||||
|
||||
# ##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user