Skip to content

Commit

Permalink
Use consistent namespacing for the include install location.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Aug 5, 2023
1 parent 9e56ea6 commit fc27f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ include(GNUInstallDirs)
target_include_directories(tatami_mtx
INTERFACE
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/tatami_mtx>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/tatami_tatami_mtx>"
)

# Building the test-related machinery, if we are compiling this library directly.
Expand All @@ -47,7 +47,7 @@ endif()
include(CMakePackageConfigHelpers)

install(DIRECTORY include/
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tatami_mtx)
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tatami_tatami_mtx)

install(TARGETS tatami_mtx
EXPORT tatami_mtxTargets)
Expand Down

0 comments on commit fc27f36

Please sign in to comment.