Skip to content

Commit

Permalink
cmake : fix json INTERFACE library (#2069)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingchensong committed May 13, 2024
1 parent 7705dc5 commit b6bbce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ if (WHISPER_SDL2)
endif()

# add json lib
add_library(json_cpp INTERFACE json.hpp)
set_target_properties(json_cpp PROPERTIES FOLDER "libs")
add_library(json_cpp INTERFACE)
target_include_directories(json_cpp INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})

# examples

Expand Down

0 comments on commit b6bbce4

Please sign in to comment.