diff --git a/src/substrait/common/CMakeLists.txt b/src/substrait/common/CMakeLists.txt index 029cb03b..38338e7e 100644 --- a/src/substrait/common/CMakeLists.txt +++ b/src/substrait/common/CMakeLists.txt @@ -12,10 +12,11 @@ add_dependencies( fmt::fmt-header-only absl::status absl::statusor) -target_include_directories(substrait_io INTERFACE - $ - $ -) +target_include_directories( + substrait_io + INTERFACE + $ + $) target_link_libraries(substrait_io substrait_proto substrait_textplan_converter substrait_textplan_loader absl::status absl::statusor) @@ -23,9 +24,6 @@ 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")