Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
stigrs committed Aug 4, 2023
1 parent ac97651 commit c8993ec
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 @@ -208,7 +208,7 @@ endif()
add_library(scilib INTERFACE)
add_library(scilib::scilib ALIAS scilib)

target_link_libraries(scilib INTERFACE std::mdspan std::linalg Microsoft.GSL::GSL)
target_link_libraries(scilib INTERFACE std::mdspan std::linalg Microsoft.GSL::GSL range-v3)

target_include_directories(scilib INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
Expand All @@ -217,7 +217,7 @@ target_include_directories(scilib INTERFACE
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)

install(TARGETS scilib mdspan linalg GSL
install(TARGETS scilib mdspan linalg GSL range-v3
EXPORT scilibTargets
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
Expand Down

0 comments on commit c8993ec

Please sign in to comment.