In VS Code, the property for specifying library paths is not libraryPath but rather handled through the linker options. You can try following options:
- Use link_directories() in CMakeLists.txt for CMake projects.
- Use -L flags in tasks.json for build-time linking.
- Use LD_LIBRARY_PATH for runtime linking if libraries aren't found.