From 3c3845b9d88dacbd41cc544abcd3a5f58a120749 Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Mon, 23 Oct 2023 17:38:09 +0200 Subject: [PATCH] Add target_include_directories because windows and macos need it for me --- build/cmake/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/cmake/README.md b/build/cmake/README.md index 022e61688..4c9d3a08b 100644 --- a/build/cmake/README.md +++ b/build/cmake/README.md @@ -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 -- 2.47.2