Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cpp/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ add_library(tsfile_cli_obj OBJECT ${TSFILE_CLI_SRCS})
# Tool-own headers (cli/, commands/, format/) resolve from this directory;
# library headers come from the staged include tree like the rest of the build.
target_include_directories(tsfile_cli_obj PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/tools
${LIBRARY_INCLUDE_DIR}
${THIRD_PARTY_INCLUDE})

Expand All @@ -39,7 +39,7 @@ target_compile_definitions(tsfile_cli_obj PRIVATE
TSFILE_CLI_VERSION="${TsFile_CPP_VERSION}")

add_executable(tsfile_cli tools_main.cc $<TARGET_OBJECTS:tsfile_cli_obj>)
target_include_directories(tsfile_cli PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(tsfile_cli PRIVATE ${CMAKE_SOURCE_DIR}/tools)
target_link_libraries(tsfile_cli tsfile)
set_target_properties(tsfile_cli PROPERTIES
OUTPUT_NAME tsfile-cli
Expand Down
Loading