Skip to content

Commit

Permalink
Ran format.
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Feb 8, 2024
1 parent b352f14 commit c09d7ee
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/substrait/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,18 @@ add_dependencies(
fmt::fmt-header-only
absl::status
absl::statusor)
target_include_directories(substrait_io INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../../include/substrait/common>
$<INSTALL_INTERFACE:include/substrait/common>
)
target_include_directories(
substrait_io
INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../../include/substrait/common>
$<INSTALL_INTERFACE:include/substrait/common>)
target_link_libraries(substrait_io substrait_proto substrait_textplan_converter
substrait_textplan_loader absl::status absl::statusor)

if(${SUBSTRAIT_CPP_BUILD_TESTING})
add_subdirectory(tests)
endif()

install(
TARGETS substrait_io
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(
FILES ../../../include/substrait/common/Io.h
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/substrait/common")
install(TARGETS substrait_io LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ../../../include/substrait/common/Io.h
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/substrait/common")

0 comments on commit c09d7ee

Please sign in to comment.