Skip to content

Commit e9cdfb1

Browse files
committed
CMake: fix immvision link to nlohmann_json
(see pthom/imgui_bundle_template#2)
1 parent b858788 commit e9cdfb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if(HELLOIMGUI_HAS_OPENGL AND NOT IMGUI_BUNDLE_DISABLE_IMMVISION)
5555

5656
find_package(nlohmann_json CONFIG QUIET)
5757
if(nlohmann_json_FOUND)
58-
target_link_libraries(${HELLOIMGUI_TARGET} PRIVATE nlohmann_json::nlohmann_json)
58+
target_link_libraries(immvision PRIVATE nlohmann_json::nlohmann_json)
5959
else()
6060
# use nlohmann_json provided by hello_imgui if not found in package
6161
target_link_libraries(immvision PRIVATE nlohmann_json)

0 commit comments

Comments
 (0)