Skip to content

Commit

Permalink
CMake: fix immvision link to nlohmann_json
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 17, 2024
1 parent b858788 commit e9cdfb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if(HELLOIMGUI_HAS_OPENGL AND NOT IMGUI_BUNDLE_DISABLE_IMMVISION)

find_package(nlohmann_json CONFIG QUIET)
if(nlohmann_json_FOUND)
target_link_libraries(${HELLOIMGUI_TARGET} PRIVATE nlohmann_json::nlohmann_json)
target_link_libraries(immvision PRIVATE nlohmann_json::nlohmann_json)
else()
# use nlohmann_json provided by hello_imgui if not found in package
target_link_libraries(immvision PRIVATE nlohmann_json)
Expand Down

0 comments on commit e9cdfb1

Please sign in to comment.