Skip to content

Commit

Permalink
fix library alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanhliu21 committed Jan 30, 2023
1 parent da0c10a commit fba6fee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ option(SVECTOR_BUILD_EXAMPLE "Build simplevector examples" OFF)

# compile
add_library(simplevectors INTERFACE)
# alias for library (for FetchContent, add_subdirectory, etc)
add_library(simplevectors::simplevectors ALIAS simplevectors)

# C++ standard
target_compile_features(simplevectors INTERFACE cxx_std_11)
Expand Down

0 comments on commit fba6fee

Please sign in to comment.