Skip to content

Commit

Permalink
Add tensorstore include directories and install tensorstore headers
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMichell committed Jul 31, 2024
1 parent 72c6f1e commit 8424c35
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion mdio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,28 @@ target_include_directories(mdio INTERFACE
$<INSTALL_INTERFACE:include>
)

message(STATUS "TENSORSTORE_INCLUDE_DIR: ${tensorstore_SOURCE_DIR}")

# # Install the tensorstore library
# install(DIRECTORY ${tensorstore_SOURCE_DIR}/ DESTINATION tensorstore)
# Add the tensorstore include directories
# target_include_directories(mdio SYSTEM INTERFACE ${TENSORSTORE_INCLUDE_DIR})
# Add the tensorstore include directories
target_include_directories(mdio INTERFACE ${TENSORSTORE_INCLUDE_DIR})
# target_include_directories(mdio INTERFACE ${TENSORSTORE_INCLUDE_DIR})
# target_include_directories(mdio PUBLIC ${TENSORSTORE_INCLUDE_DIR})
# target_include_directories(mdio INTERFACE ${tensorstore_SOURCE_DIR})
# Install the tensorstore headers
# install(DIRECTORY ${tensorstore_SOURCE_DIR}/ DESTINATION include/tensorstore)
# # target_include_directories(mdio INTERFACE ${tensorstore_SOURCE_DIR})
# target_include_directories(mdio INTERFACE include/tensorstore)

# Install the tensorstore headers
install(DIRECTORY ${tensorstore_SOURCE_DIR}/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/tensorstore)

# Add the tensorstore include directories
target_include_directories(mdio INTERFACE $<INSTALL_INTERFACE:include/tensorstore>)

# target_link_libraries(mdio INTERFACE tensorstore)

# Add a dependency on the tensorstore library
add_dependencies(mdio tensorstore)
Expand Down

0 comments on commit 8424c35

Please sign in to comment.