Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brglng committed Sep 23, 2020
1 parent 1e0fe31 commit 4117631
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ files.
Use `FetchContent`:

include(FetchContent)
FetchContent_Declare(naivedsp
FetchContent_Declare(libwav
GIT_REPOSITORY "https://github.com/brglng/libwav.git"
GIT_SHALLOW ON
)
FetchContent_MakeAvailable(naivedsp)
FetchContent_MakeAvailable(libwav)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wav::wav)

Use `add_subdirectory`:

add_subdirectory(naivedsp)
add_subdirectory(libwav)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wav::wav)

Use `find_package`:

find_package(naivedsp)
find_package(wav)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wav::wav)

0 comments on commit 4117631

Please # to comment.