Commit 84494cb
authored
Fix target check for tomlplusplus in CMakeLists
The check for the tomlplusplus target uses the wrong target name, so an externally provided tomlplusplus target is never detected and CMake always falls back to find_package.
It needs to use the same target name that is referenced in the adjacent target_link_libraries.1 parent c732e45 commit 84494cb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| |||
0 commit comments