diff --git a/src/substrait/common/CMakeLists.txt b/src/substrait/common/CMakeLists.txt index f6f6319d..dc05a11e 100644 --- a/src/substrait/common/CMakeLists.txt +++ b/src/substrait/common/CMakeLists.txt @@ -4,10 +4,16 @@ add_library(substrait_common Exceptions.cpp) target_link_libraries(substrait_common fmt::fmt-header-only) add_library(substrait_io Io.cpp) -add_dependencies(substrait_io substrait_proto substrait_textplan_converter - substrait_textplan_loader fmt::fmt-header-only absl::status) +add_dependencies( + substrait_io + substrait_proto + substrait_textplan_converter + substrait_textplan_loader + fmt::fmt-header-only + absl::status + absl::statusor) target_link_libraries(substrait_io substrait_proto substrait_textplan_converter - substrait_textplan_loader absl::status) + substrait_textplan_loader absl::status absl::statusor) if(${SUBSTRAIT_CPP_BUILD_TESTING}) add_subdirectory(tests) diff --git a/src/substrait/textplan/converter/CMakeLists.txt b/src/substrait/textplan/converter/CMakeLists.txt index d8e92a16..6f67271e 100644 --- a/src/substrait/textplan/converter/CMakeLists.txt +++ b/src/substrait/textplan/converter/CMakeLists.txt @@ -28,7 +28,8 @@ target_link_libraries( error_listener date::date fmt::fmt-header-only - absl::status) + absl::status + absl::statusor) if(${SUBSTRAIT_CPP_BUILD_TESTING}) add_subdirectory(tests) diff --git a/src/substrait/textplan/parser/CMakeLists.txt b/src/substrait/textplan/parser/CMakeLists.txt index 00dbb0b5..4c89fa83 100644 --- a/src/substrait/textplan/parser/CMakeLists.txt +++ b/src/substrait/textplan/parser/CMakeLists.txt @@ -29,7 +29,8 @@ target_link_libraries( fmt::fmt-header-only date::date date::date-tz - absl::status) + absl::status + absl::statusor) add_executable(planparser Tool.cpp) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 390314cc..7b8d8e60 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -2,7 +2,6 @@ if(NOT ${ABSL_INCLUDED_WITH_PROTOBUF}) set(ABSL_PROPAGATE_CXX_STD ON) - set(ABSL_CXX_STANDARD 17) add_subdirectory(abseil-cpp) endif()