]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add target_include_directories because windows and macos need it for me 3795/head
authorXavier Mitault <xavier.mitault@epitech.eu>
Mon, 23 Oct 2023 15:38:09 +0000 (17:38 +0200)
committerXavier Mitault <xavier.mitault@epitech.eu>
Mon, 23 Oct 2023 15:38:09 +0000 (17:38 +0200)
build/cmake/README.md

index 022e6168869dd533e0c7dcb2579de9e4ce7fdfd3..4c9d3a08b688a6d1075c8e60edeb1ef7b6ca18e4 100644 (file)
@@ -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