Configure RESINSIGHT_USE_ODB_API in root CMakeLists.txt

This commit is contained in:
Kristian Bendiksen
2021-01-12 09:48:02 +01:00
parent 14f87533fa
commit 3112f61890
3 changed files with 21 additions and 14 deletions

View File

@@ -271,6 +271,8 @@ if(RESINSIGHT_ENABLE_GRPC)
endif()
if(RESINSIGHT_USE_ODB_API)
add_definitions(-DUSE_ODB_API)
list(APPEND LINK_LIBRARIES RigGeoMechDataModel)
list(APPEND LINK_LIBRARIES RifOdbReader)
endif()