Skip to content

Commit d07c091

Browse files
committed
Add interface include dir for backwards compat
1 parent af17c4c commit d07c091

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ target_sources(
7777
FILES
7878
include/DynamicLoader/DynamicLoader.hpp)
7979
set_target_properties(DynamicLoader PROPERTIES VERIFY_INTERFACE_HEADER_SETS ON)
80+
target_include_directories(DynamicLoader INTERFACE $<INSTALL_INTERFACE:include>)
8081

8182
# Installation
8283
set(DynamicLoader_CONFIG_INSTALL_DIR

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ try {
3737
}
3838
```
3939

40-
## Configuration options
40+
## Configuration Options
4141

4242
| Name | Description | Default |
4343
|------------------------------------|----------------------------------|---------------------------|
@@ -78,7 +78,7 @@ Please find the HTML documentation in `build/docs/html`
7878

7979
## Usage
8080

81-
DynamicLoader can be integrated in your project in several ways.
81+
DynamicLoader can be integrated into your project in several ways.
8282

8383
### CMake FetchContent
8484

@@ -94,7 +94,7 @@ FetchContent_MakeAvailable(dynamic-loader)
9494
target_link_libraries(<your-target> PRIVATE DynamicLoader::DynamicLoader)
9595
```
9696

97-
### Git submodules
97+
### Git Submodule
9898

9999
```Bash
100100
git submodule add https://github.com/globberwops/dynamic-loader.git third_party/dynamic-loader
@@ -111,7 +111,7 @@ target_link_libraries(<your-target> PRIVATE DynamicLoader::DynamicLoader)
111111
### Vcpkg
112112

113113
```Bash
114-
vcpkg install dynamic-loader
114+
vcpkg install globberwops-dynamic-loader
115115
```
116116

117117
```CMake

0 commit comments

Comments
 (0)