Last active
April 19, 2025 22:54
-
-
Save jammm/f6d247bffa1c7bd936af1cd9784b75f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 75aa3a572..a9ea115c1 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -585,6 +585,9 @@ endif() | |
set(KERNELS_SOURCE_DIR ${PROJECT_SOURCE_DIR}/src/kernels) | |
+list(PREPEND CMAKE_PROGRAM_PATH | |
+ "C:/Users/jam/Downloads/bzip2-1.0.5-bin/bin") | |
+ | |
find_program(UNZIPPER bzip2 REQUIRED) | |
file(MAKE_DIRECTORY ${KERNELS_BINARY_DIR}) | |
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | |
index 380e75b22..e147c78fd 100644 | |
--- a/src/CMakeLists.txt | |
+++ b/src/CMakeLists.txt | |
@@ -837,7 +837,9 @@ if(HAS_LIB_STD_FILESYSTEM) | |
target_link_libraries(MIOpen PRIVATE stdc++fs) | |
endif() | |
-find_package(zstd) | |
+set(zstd_DIR "C:/Users/jam/Downloads/zstd-1.5.7/build/cmake/build/dist/lib/cmake/zstd") | |
+ | |
+find_package(zstd REQUIRED) | |
if(zstd_FOUND) | |
target_link_libraries(MIOpen PRIVATE $<IF:$<TARGET_EXISTS:zstd::libzstd_shared>,zstd::libzstd_shared,zstd::libzstd_static>) | |
endif() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment