Skip to content

Commit

Permalink
Merge pull request #2305 from kuzudb/stdint_includes
Browse files Browse the repository at this point in the history
Fix stdint includes
  • Loading branch information
benjaminwinger committed Oct 30, 2023
2 parents 6dda3e4 + 25d929b commit 80620e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/include/common/exception/message.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <cstdint>
#include <string>

namespace kuzu {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ add_library(kuzu_processor_operator_parquet_writer
set(ALL_OBJECT_FILES
${ALL_OBJECT_FILES} $<TARGET_OBJECTS:kuzu_processor_operator_parquet_writer>
PARENT_SCOPE)

target_link_libraries(kuzu_processor_operator_parquet_writer PUBLIC miniparquet)
3 changes: 1 addition & 2 deletions third_party/miniparquet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ include_directories(src/parquet
src/snappy
src/thrift)

add_compile_definitions(HAVE_STDINT_H)

add_library(miniparquet STATIC
src/parquet/parquet_constants.cpp
src/parquet/parquet_types.cpp
Expand All @@ -32,6 +30,7 @@ add_library(miniparquet STATIC
src/snappy/snappy.cc
src/snappy/snappy-sinksource.cc)

target_compile_definitions(miniparquet PUBLIC HAVE_STDINT_H)
target_include_directories(
miniparquet
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)

0 comments on commit 80620e7

Please sign in to comment.