Skip to content

Commit

Permalink
Add mention of needing to link to the dynamic linker on linux
Browse files Browse the repository at this point in the history
If a user copy/pastes the code into their project, they need to link to the dynamic linker on linux platforms.
  • Loading branch information
charles-lunarg authored Apr 23, 2021
1 parent 75db58a commit 95b82a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ Copy the `src/VkBootstrap.h` and `src/VkBootstrap.cpp` files into your project,

`vk-bootstrap` is *not* a header only library, so no need to worry about macros in the header.

#### Linux specific

vk-bootstrap will load the required symbols at runtime, which requires that the application is linked to the system dynamic link.
How the dynamic linker is linked into the project depends on the build system in question.
If CMake is being used, link vk-bootstrap with `${CMAKE_DL_LIBS}`.

### git-submodule + CMake

Add this project as a git-submodule into the root directory. Suggested is using a subdirectory to hold all submodules.
Expand Down

0 comments on commit 95b82a9

Please sign in to comment.