Skip to content

Commit

Permalink
Changed JSON target name
Browse files Browse the repository at this point in the history
  • Loading branch information
tornupnegatives committed Mar 21, 2024
1 parent f088cbf commit 40ad478
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ cpmaddpackage(
GITHUB_REPOSITORY
nlohmann/json
VERSION
3.11.3
OPTIONS
"JSON_Install ON"
"JSON_SystemInclude ON")
3.11.3)

cpmaddpackage(
samplerate
Expand All @@ -135,10 +132,8 @@ cpmaddpackage(
OPTIONS
"BUILD_TESTING OFF")

target_link_libraries(
${PROJECT_NAME}
PRIVATE CLI11 samplerate
PUBLIC nlohmann_json::nlohmann_json)
target_link_libraries(${PROJECT_NAME}
PRIVATE CLI11 nlohmann_json samplerate)

###############################################################################
# Artifacts & Sub-Targets #####################################################
Expand Down

0 comments on commit 40ad478

Please sign in to comment.