Skip to content

Commit

Permalink
build(cmake): add missing find_package(gsl-lite)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Sep 25, 2023
1 parent 3573ddc commit 8d9d1f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@

cmake_minimum_required(VERSION 3.2)

# find dependencies
if(NOT TARGET gsl::gsl-lite)
find_package(gsl-lite CONFIG REQUIRED)
endif()

add_library(example_utils INTERFACE)
target_include_directories(example_utils INTERFACE include)
target_link_libraries(example_utils INTERFACE gsl::gsl-lite)
Expand Down

0 comments on commit 8d9d1f7

Please sign in to comment.