-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to apply fix that will make the image converter build.
- Loading branch information
Showing
5 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- mlpack-4.3.0/CMakeLists.txt 2023-11-27 13:27:20.000000000 -0500 | ||
+++ mlpack-4.3.0-mod/CMakeLists.txt 2024-03-22 11:41:28.569175709 -0400 | ||
@@ -312,14 +312,14 @@ | ||
find_package(StbImage) | ||
else() | ||
find_package(StbImage) | ||
- if (NOT STB_IMAGE_FOUND) | ||
+ if (NOT StbImage_FOUND) | ||
get_deps(https://mlpack.org/files/stb.tar.gz stb stb.tar.gz) | ||
set(STB_IMAGE_INCLUDE_DIR ${GENERIC_INCLUDE_DIR}) | ||
find_package(StbImage REQUIRED) | ||
endif() | ||
endif() | ||
|
||
-if (STB_IMAGE_FOUND) | ||
+if (StbImage_FOUND) | ||
set(STB_AVAILABLE "1") | ||
set(MLPACK_INCLUDE_DIRS ${MLPACK_INCLUDE_DIRS} "${STB_IMAGE_INCLUDE_DIR}") | ||
|