Skip to content

Commit

Permalink
Add target_include_directories because windows and macos need it for me
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Oct 23, 2023
1 parent e590c8a commit 3c3845b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/cmake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ target_link_libraries(
PRIVATE
libzstd_static
)
# On windows and macos this is needed
target_include_directories(
${PROJECT_NAME}
PRIVATE
${zstd_SOURCE_DIR}/lib
)
```

### referring
Expand Down

0 comments on commit 3c3845b

Please sign in to comment.