Skip to content

Commit

Permalink
Add lib prefix to shared libraries (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
csbnw authored Sep 20, 2023
1 parent 17bd44b commit 7520129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Changed
- The vector_add example has now become a test
- Added `lib` prefix to shared libraries

### Removed
- `getDevice` function of `Context`, use `Device` constructor instead
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ foreach(component ${COMPONENTS})
include/${PROJECT_NAME}/${component}.hpp
)
# Add the project name as a prefix to the output libraries
set_target_properties(${component} PROPERTIES PREFIX ${PROJECT_NAME}-)
set_target_properties(${component} PROPERTIES PREFIX lib${PROJECT_NAME}-)
# Add includes
target_include_directories(
${component}
Expand Down

0 comments on commit 7520129

Please sign in to comment.